Color and contrast

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 contrast ratio and APCA compared
WCAG 2.2 ratioAPCA
Output1:1 to 21:1Lc, about -108 to +106
Text or background matters?No, swapping colors gives the same ratioYes, polarity changes the score
Font size and weightTwo buckets: normal and large textTargets vary continuously with size and weight
Main targets4.5:1 text, 3:1 large text and UI (AA)Lc 75 to 90 body, Lc 60 content, Lc 45 headlines
StatusNormative in WCAG 2.1 and 2.2; required by lawNot 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:

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:

APCA Lc guidance levels
LcUse
90Preferred for body text (about 18px at weight 300 or heavier)
75Minimum for body text
60Minimum for content text that is not body copy
45Minimum for large, heavy text such as headlines
30Absolute minimum for any other text, such as placeholders
15Minimum 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:

Example color pairs scored by WCAG 2.2 and APCA
Text on backgroundWCAG 2.2APCA LcWhat it shows
#767676 on #FFFFFF4.54:1, passes AA71.6The classic “lightest gray that passes” is below APCA’s Lc 75 body minimum.
#FFFFFF on #7676764.54:1, passes AA-77.0Same ratio, different Lc: polarity matters to APCA.
#9CA3AF on #1118276.99:1, passes AA-51.0Dark mode gray text WCAG 2 rates highly reads as weak in APCA.
#FFFFFF on #FF6B002.86:1, fails-59.0White on orange fails WCAG 2 but scores close to APCA’s content minimum.
#000000 on #FF6B007.36:1, passes AAA50.3WCAG 2 strongly prefers black on orange; APCA rates it lower than white.
#000000 on #2563EB4.06:1, fails AA29.2Both reject black on mid blue; APCA far more firmly.
#FFFFFF on #2563EB5.17:1, passes AA-80.2Both 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

  1. 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.
  2. Use APCA as a second opinion for dark mode, thin or small type, and text on brand colors.
  3. 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.
  4. 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.

Essential Accessibility Resources

Comprehensive tools, checklists, and guides to help you create inclusive digital experiences

Top Pick

Color Contrast Checker

WCAG compliant color contrast ratio checker for accessibility
color
contrast
ratio
+8 more
View tool
Top Pick

Dark Mode Contrast Checker

Render a page in light and dark mode, find contrast failures and invisible text that only appear in dark, and check Safari Adaptive Dark Mode readiness
dark mode
dark mode contrast
1.4.3
View tool

OKLCH & APCA Color Systems Guide

Perceptual color spaces and next-gen contrast for accessible design systems
oklch
apca
wcag 3 contrast
View guide

Accessible Palette Studio

OKLCH + APCA + WCAG color system builder with design tokens export
oklch
apca contrast
View tool

Accessible Color Palettes Library

Ready-made light and dark palettes with every pairing checked against WCAG 2.2, plus color-blind-safe chart palettes
accessible color palettes
View tool

Text Over Image Contrast Checker

Measure text contrast against every pixel of a photo or gradient background
contrast
1.4.3
View tool