APCA vs WCAG 2 contrast: how they differ and which to follow
WCAG 2.2 measures contrast as a ratio between two luminances. APCA, the Accessible Perceptual Contrast Algorithm, models how people actually perceive text and gives a lightness contrast value, Lc. They agree on most pairs and disagree sharply on some. Only one of them is a legal requirement today.
Reviewed by Khushwant Parihar, CPACC
Updated
The short version
| WCAG 2.2 ratio | APCA | |
|---|---|---|
| Output | 1:1 to 21:1 | Lc, about -108 to +106 |
| Text or background matters? | No, swapping colors gives the same ratio | Yes, polarity changes the score |
| Font size and weight | Two buckets: normal and large text | Targets vary continuously with size and weight |
| Main targets | 4.5:1 text, 3:1 large text and UI (AA) | Lc 75 to 90 body, Lc 60 content, Lc 45 headlines |
| Status | Normative in WCAG 2.1 and 2.2; required by law | Not in any W3C standard |
How the WCAG 2.2 ratio works
First convert each sRGB channel (0 to 255) to linear light, then weight the channels by how bright they look:
channel = value / 255
linear = channel <= 0.04045 ? channel / 12.92
: ((channel + 0.055) / 1.055) ^ 2.4
L = 0.2126 * R_linear + 0.7152 * G_linear + 0.0722 * B_linear
contrast ratio = (L_lighter + 0.05) / (L_darker + 0.05)The thresholds:
- 1.4.3 Contrast (Minimum), AA: 4.5:1 for normal text, 3:1 for large text (at least 24px, or about 18.66px bold).
- 1.4.6 Contrast (Enhanced), AAA: 7:1 and 4.5:1.
- 1.4.11 Non-text Contrast, AA: 3:1 for interface components and meaningful graphics.
The thresholds are absolute: 4.49:1 fails. Check any pair in our contrast checker, which shows the WCAG ratio and an APCA reading side by side.
How APCA works
APCA converts colors to screen luminance with a simple 2.4 exponent, applies a soft clamp near black, then uses different exponents for dark-on-light and light-on-dark text. That is why it reports a signed Lc value instead of a symmetric ratio. Its published guidance sets minimum Lc values by use:
| Lc | Use |
|---|---|
| 90 | Preferred for body text (about 18px at weight 300 or heavier) |
| 75 | Minimum for body text |
| 60 | Minimum for content text that is not body copy |
| 45 | Minimum for large, heavy text such as headlines |
| 30 | Absolute minimum for any other text, such as placeholders |
| 15 | Minimum for non-text elements that must be seen |
Source: APCA in a Nutshell. Fuller APCA lookup tables refine these by exact font size and weight.
Where they disagree
Calculated with the WCAG 2.2 formula and the APCA-W3 algorithm used in our tools:
| Text on background | WCAG 2.2 | APCA Lc | What it shows |
|---|---|---|---|
| #767676 on #FFFFFF | 4.54:1, passes AA | 71.6 | The classic “lightest gray that passes” is below APCA’s Lc 75 body minimum. |
| #FFFFFF on #767676 | 4.54:1, passes AA | -77.0 | Same ratio, different Lc: polarity matters to APCA. |
| #9CA3AF on #111827 | 6.99:1, passes AA | -51.0 | Dark mode gray text WCAG 2 rates highly reads as weak in APCA. |
| #FFFFFF on #FF6B00 | 2.86:1, fails | -59.0 | White on orange fails WCAG 2 but scores close to APCA’s content minimum. |
| #000000 on #FF6B00 | 7.36:1, passes AAA | 50.3 | WCAG 2 strongly prefers black on orange; APCA rates it lower than white. |
| #000000 on #2563EB | 4.06:1, fails AA | 29.2 | Both reject black on mid blue; APCA far more firmly. |
| #FFFFFF on #2563EB | 5.17:1, passes AA | -80.2 | Both agree white works on this blue. |
The pattern: WCAG 2 tends to overrate contrast in dark color schemes and on dark mid-tones, and underrate white text on saturated colors such as orange. Those are the cases where checking both is worthwhile. See also our dark mode contrast checker.
APCA’s status in WCAG 3
APCA was created for the WCAG 3 effort, and many articles still describe it as “the WCAG 3 contrast method.” That is not accurate today. The 10 September 2026 WCAG 3 Working Draftlists “Text contrast sufficient” as a developing requirement whose measure is “to be determined”, says the contrast algorithm is yet to be decided, and does not name APCA. WCAG 3 itself is not expected to become a W3C Recommendation before 2028; see our WCAG 3 overview for the timeline.
What to do in 2026
- Meet WCAG 2.2 AA. 4.5:1 for text, 3:1 for large text and interface parts. This is what audits, contracts and laws test.
- Use APCA as a second opinion for dark mode, thin or small type, and text on brand colors.
- When they conflict, satisfy WCAG 2 first, then adjust lightness until APCA is also comfortable. Our accessible palette generator and OKLCH color systems guide make that easier.
- Do not claim APCA conformance as a substitute for WCAG in an accessibility statement or VPAT.
Frequently Asked Questions
Is APCA part of WCAG 3?
Not at present. The 10 September 2026 WCAG 3 Working Draft says the contrast algorithm is yet to be determined and does not mention APCA. APCA was developed for the WCAG 3 effort and remains the best-known candidate, but no W3C standard requires it.
Should I use APCA instead of the WCAG 2 contrast ratio?
Not instead of it. Laws such as the ADA Title II rule and EN 301 549 require WCAG 2.1 or 2.2, so you must meet 4.5:1 and 3:1. APCA is useful as a second check, especially for dark mode, thin fonts and colored buttons, where it catches pairs that pass WCAG 2 but read poorly.
What APCA Lc value equals a 4.5:1 contrast ratio?
There is no fixed conversion, because APCA depends on which color is the text and the ratio does not. Gray #767676 on white is 4.54:1 and Lc 71.6; reverse the colors and it is still 4.54:1 but Lc -77.0. APCA's own guidance treats Lc 60 as a minimum for content text and Lc 75 to 90 for body text.
What is the WCAG 2.2 contrast ratio formula?
(L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter color and L2 of the darker. Relative luminance is 0.2126 R + 0.7152 G + 0.0722 B, after converting each sRGB channel to linear light. Ratios run from 1:1 to 21:1.
Why does APCA give negative numbers?
The sign shows polarity. Positive Lc means dark text on a light background; negative means light text on a dark background. Use the absolute value when comparing against the targets.