Across projects
WCAG 2 contrast vs. APCA: how I use both to check text readability
A colour pair can pass the WCAG 2.2 4.5:1 ratio and still look washed out in thin fonts or dark mode. Here is what each formula measures and how I use them together.
Accessibility · Contrast · Design decisions
In this note
Passing an automated contrast ratio in a Figma plugin does not always mean text is comfortable to read on a real screen, especially in dark mode or with light font weights. In my interface work, I use WCAG 2.2 AA as the non-negotiable compliance baseline, and APCA as a practical second check for perceptual readability.
Before comparing them, it helps to be precise about what they are: WCAG (Web Content Accessibility Guidelines) is a full W3C accessibility standard covering keyboard navigation, screen readers, focus states and contrast, whereas APCA (Accessible Perceptual Contrast Algorithm) is specifically a mathematical method for scoring text-to-background contrast. So the real comparison is between the WCAG 2 contrast ratio and APCA.
Status checked: October 2026.
1. What the WCAG 2 contrast ratio measures (and what it misses)
WCAG 2 calculates contrast from the relative luminance of two colours using the formula (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter colour (W3C definition).
Because that formula only looks at two hex values in isolation:
- It treats polarity as identical: dark text on a light background and light text on a dark background return the exact same ratio.
- It only considers font size at a single step threshold: normal text requires 4.5:1 for Level AA, while “large text” (at least 18pt / ~24px regular, or 14pt / ~18.5px bold) requires 3:1 (Understanding SC 1.4.3).
- It does not account for thin font strokes: as the W3C documentation itself notes, a thin or light typeface can pass 4.5:1 mathematically and still appear faint on screen.
2. How APCA scores contrast differently
Developed by Andrew Somers (APCA introduction), APCA calculates a perceptual lightness contrast score (Lc) rather than a simple ratio:
- Polarity matters: swapping text and background colours changes the Lc score, reflecting how the human eye perceives light text on dark surfaces differently from dark text on paper-light surfaces.
- Typography is built into the guidance: in its simplest “Bronze” mode, APCA recommends at least Lc 75 for body copy (preferring Lc 90) and ties minimum scores directly to font size and weight (ARC Bronze Simple Mode).
3. Why WCAG 2.2 AA remains the required standard today
There is a common misconception in design discussions that “WCAG 3 has already replaced 4.5:1 with APCA.” In reality, WCAG 3 is still a W3C Working Draft; the September 2026 draft explicitly lists its final contrast scoring method as “to be determined” (WCAG 3 Working Draft), after earlier exploratory APCA references were removed in 2023 (Adrian Roselli, April 2026).
| Dimension | WCAG 2 contrast | APCA |
|---|---|---|
| Output format | Luminance ratio (e.g. 4.5:1) | Perceptual lightness contrast (Lc) |
| Does dark vs. light mode polarity change the score? | No (symmetrical) | Yes (polarity-sensitive) |
| How font size & weight are handled | Single step change for large text (18pt / 14pt bold) | Tied to font size, weight and use case |
| Official status (2026) | Published W3C standard (WCAG 2.2) | Independent method; not part of the current WCAG 3 draft |
How I use both in practice
Because WCAG 2.2 AA is the published legal and product standard, every text and background token in my projects (including the interactive contrast exercises in DesignGrounds and the dark/light themes in Então? Comer!) must pass WCAG 2.2 AA first.
I then use APCA as a perceptual sanity check: if a colour pair passes 4.5:1 in WCAG 2 (especially light secondary text on a dark surface or a 13px metadata label) but scores poorly in APCA and looks washed out to the eye, I bump the font weight or increase lightness until it passes both. A good APCA score never excuses a WCAG 2 failure, and passing both gives much more reliable readability on real screens.