Color contrast beyond the WCAG ratio: perceived contrast, font weight and APCA explained
Most designers know the WCAG contrast ratios: a minimum for normal text and a lower one for large text. Those ratios are a vital baseline, but contrast in practice is more nuanced.
How the WCAG 2 ratio works. It compares the relative luminance of text and background colors. It is simple and widely adopted in standards and legal requirements.
Known limitations
- It treats light-on-dark and dark-on-light the same, although perception differs.
- It does not account for font weight or size beyond a basic large-text threshold, though thin text needs more contrast than bold text.
- Some combinations that pass can feel hard to read, and some that fail can look fine, especially with dark mode colors.
APCA. The Accessible Perceptual Contrast Algorithm is a newer model developed as a candidate for future accessibility guidelines. It aims to reflect perceived readability by considering polarity, font size and weight. It is still a proposal rather than an established standard, so it is best used as an additional lens rather than a replacement.
Practical approach
- Meet current WCAG requirements as the baseline.
- Treat thin weights and small sizes as needing more contrast than the minimum.
- Check dark mode separately and carefully.
- Test on real devices, in bright environments, and with people who have low vision when possible.
Do you use any perceptual contrast tools alongside WCAG checks? Where have you seen ratios mislead?
Comments · 3
APCA is trickier to apply than the ratio but it considers font weight and size, which makes sense. WCAG 3 may adopt something like it.
Thin light-grey type on white passes some ratio tests and is still unreadable. Weight matters as much as colour.
Should I use both WCAG ratio and APCA for now, or is one enough?