Contrast checker

Pick the text colour and the background colour. I'll tell you straight away whether they are readable under WCAG 2.2.

You can type the code or use the picker.

This is how it looks

Sample large text

Sample normal text: accessibility is for everyone.

Component
Contrast ratio8.45 : 1
Result by type of content
ContentsAAAAA
Normal textPassesMinimum 4.5 : 1PassesMinimum 7 : 1
Large textPassesMinimum 3 : 1PassesMinimum 4.5 : 1
Interface components and graphicsPassesMinimum 3 : 1—

Large text: about 24 px or more, or about 19 px or more if bold.

Try some examples

What is measured

The ratio goes from 1 to 1 (no contrast) to 21 to 1 (black on white). Level AA asks for 4.5 to 1 for normal text and 3 to 1 for large text and interface components. Level AAA raises that to 7 to 1 and 4.5 to 1.

What if the person uses high contrast mode?