How to fix: low colour contrast
WCAG 2.2 success criterion 1.4.3 (level AA)
Why it matters
Text is hard to read for people with low vision or in bright light.
How to fix
Make normal text at least 4.5:1 against its background, and large text at least 3:1. Darken the text or lighten the background.
/* before: #999 on #fff (2.8:1) */
color: #595959; /* 7:1 on white */
Test it yourself
- In Chrome, Inspect the text and click the colour swatch: DevTools shows the contrast ratio and whether it passes AA.
- Check text on images and buttons too, plus hover and focus states.
Common mistakes
- Light grey placeholder text used as the only label.
- White text on brand colours like light green or orange.
- Fixing the normal state but not the hover state.
Check your own site
Find this and other problems on your website in 30 seconds, free.