Colour contrast
How different in brightness text or a control is from its background, measured as a ratio from 1:1 (no difference) to 21:1 (black on white).
Also called contrast ratio
Example
A sign-in page's pale grey 'Forgot password?' link is hard to see on white, so the team darkens it until it passes the contrast check.
When to use it
Aim for at least 4.5:1 for normal text and 3:1 for large text (about 24px, or 18.5px bold). Give the parts that show a control, like input borders and focus outlines, and meaningful graphics such as status icons at least 3:1 too.
Watch out
Some experts argue the current formula doesn't match how people see contrast, and the WCAG 3 draft hasn't chosen a new method yet.
The evidence 6 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
WCAG's contrast ratio compares how bright two colours are (their relative luminance) and runs from 1:1, for two identical colours, to 21:1, for black on white.
WCAG 1.4.3 Contrast (Minimum) (AA): normal text needs at least 4.5:1 against its background and large text (18pt, or 14pt bold, roughly 24px or 18.5px) at least 3:1; logos, decoration and disabled controls are exempt, and values are not rounded up (4.499:1 fails).
W3C explains that 3:1 was a minimum from older display standards for people with normal vision, and 4.5:1 adds room for people with moderately reduced sight (about 20/40); the 7:1 level covers about 20/80.
WCAG 1.4.6 Contrast (Enhanced) (AAA): normal text needs at least 7:1 and large text at least 4.5:1.
WCAG 1.4.11 Non-text Contrast (AA): the visual parts people need to spot a control and its state (such as an input's border, a checkbox tick or a focus outline) and the meaningful parts of graphics need at least 3:1 against neighbouring colours; disabled controls are exempt.
APCA appeared in early WCAG 3 drafts but was taken out in July 2023, and it is not known whether it will return.