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.
ComponentContrast ratio8.45 : 1
| Contents | AA | AAA |
|---|---|---|
| Normal text | PassesMinimum 4.5 : 1 | PassesMinimum 7 : 1 |
| Large text | PassesMinimum 3 : 1 | PassesMinimum 4.5 : 1 |
| Interface components and graphics | PassesMinimum 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.