Design Nomenclature / Systems & Spec

Contrast ratio

Also called WCAG contrast, luminance contrast ratio, contrast check

This entry has not been translated yet and is shown in English.

(L1 + 0.05) / (L2 + 0.05), where L is WCAG relative luminance and L1 is the lighter of the two colours. It runs from 1:1 to 21:1. Hue is discarded entirely — only luminance survives the formula — so two pairs at identical ratios can differ enormously in how readable they look.

The scale sampled at three points on white, each marked against five criteria — AA normal 4.5:1, AA large 3:1, AAA normal 7:1, AAA large 4.5:1, AA non-text 3:1. Black at 21:1, the highest ratio sRGB allows: meets all five. #767676 at 4.54:1, just over the 4.5:1 normal-text minimum: meets AA normal, AA large, AAA large and AA non-text, and fails AAA normal, which wants 7:1. #949494 at 3.03:1: meets AA large and AA non-text only, failing AA normal, AAA normal and AAA large. Hue never enters the arithmetic; only luminance does.

In practice

Quoted as a property of a colour pair, which it is, then as a property of a design, which it is not: it says nothing about size, weight, or the surface underneath.

Not to be confused with

How this term connects

APCAContrast of light and darkGlareHelmholtz–Kohlrausch effectLevel AALevel AAALuminanceNon-text contrastRelative luminanceVeiling glareWCAGContrast ratio
Related Confused with