A11y Colour Contrast Table

Settings

Test foreground and background colour combinations for compliance with WCAG 2.1 AA minimum contrast ratio.

Include one HEX colour value per line, with an optional comma-separated label.

Output

Calculations colour contrast ratio

Table legend

Pass
Passes for WCAG 2.1 AA.
LB
Passes only for large text (24 pixels and up) or bold text (19 pixels and up).
Fail
Doesn't pass for WCAG 2.1 AA.