How is the similarity percentage color calculated?

Color Coding Scale

From the My Scans page you'll see different colored bars for different levels of the similarity percentage. Below is the scale for each of the 3 colors.

Green - 0-10%

Orange - 11-50%

Red - 51-100%