- What is a good contrast ratio for a website?
- How do you measure contrast?
- What is an acceptable contrast ratio?
- What is a good color contrast score?
What is a good contrast ratio for a website?
WCAG recommends a 7:1 contrast ratio for users with vision loss equating to 20/80 vision, but 3:1 for large text since large print with wider character strokes is much easier to read at low contrast. This gives site owners more color choices for large text placement, such as in titles and headers.
How do you measure contrast?
Contrast is calculated using "relative luminance", which is defined as: The relative brightness of any point in a colorspace, normalized to 0 for darkest black and 1 for lightest white. The relative luminance can be calculated from any colour code (like HEX or RGB).
What is an acceptable contrast ratio?
Color Contrast Ratios Guidance
Whenever using color in images, ensure that the colors have a contrast ratio of at least 4.5:1. This ensures that the text is still readable to those who may have color blindness.
What is a good color contrast score?
Regarding colors, the standard defines two levels of contrast ratio: AA (minimum contrast) and AAA (enhanced contrast). The level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (at least 18pt) or bold text.