How to use it
- 1
Enter the text colour and the background colour as hex.
- 2
Read the ratio and the AA and AAA results for normal and large text.
- 3
If it fails, use the suggested colour: same hue, adjusted lightness.
The thresholds
WCAG 2.1 level AA requires 4.5:1 for normal text and 3:1 for large text (24px, or about 18.66px bold) and for icons and interface parts. Level AAA raises text to 7:1 and 4.5:1.
The ratio compares relative luminance, the perceived brightness of each colour, from 1:1 (identical) to 21:1 (black on white). Results are compared at two decimals, like other WCAG checkers, so 4.49 does not round up to a pass.
Questions
Does passing AA make my site accessible?
It covers one criterion. Accessibility also depends on structure, labels, keyboard use and more; automated checks cannot confirm full compliance.
What about text on images or gradients?
Check the lightest and darkest spots behind the text. If any fails, add an overlay or a solid background behind the text.
What is APCA?
A newer contrast method proposed for future guidelines. Today’s legal and procurement requirements still reference WCAG 2 ratios, which this tool uses.
Updated:
