4.5:1 Is Lc 72 on White and Lc 30 on Black
Colors at 4.5:1 against white score APCA Lc 68 to 72. Against black, the same ratio scores Lc 29 to 33. What each Lc level allows.
Take every sRGB color whose WCAG contrast ratio against white falls between 4.5:1 and 4.6:1. That is 177,538 colors, and all of them pass AA for normal text. Their APCA lightness contrast ranges from Lc 68.3 to Lc 72.0. Now do the same against black: 175,440 colors, all passing AA, scoring Lc 29.2 to Lc 32.9. WCAG 2 gives both groups the same verdict. APCA rates the dark-mode group at less than half the contrast and puts it at Lc 30, the level it reserves for placeholder and disabled text.
Lc Is a Level, Not a Ratio
APCA (the Accessible Perceptual Contrast Algorithm) reports lightness contrast as Lc, a number from 0 to about 106 for dark text on a light background and about −108 for light text on a dark background. The sign carries polarity. The size of the number carries readability, and the APCA documentation describes it as perceptually uniform: Lc 60 should read the same whether the colors are light or dark, and doubling Lc should roughly double perceived contrast.
APCA's authors argue that the WCAG 2 ratio does not behave that way and overstates contrast between dark colors. The gap shows when you find the gray that reaches each Lc level against white and against black:
| Level | Gray on white | WCAG ratio | Gray on black | WCAG ratio |
|---|---|---|---|---|
| Lc 90 | #4A4A4A | 8.86 | #E4E4E4 | 16.52 |
| Lc 75 | #6E6E6E | 5.10 | #CBCBCB | 12.94 |
| Lc 60 | #8E8E8E | 3.28 | #B1B1B1 | 9.79 |
| Lc 45 | #ABABAB | 2.30 | #959595 | 7.01 |
Body text at the APCA minimum needs a ratio of 5.1:1 on white and 12.9:1 on black. No single WCAG threshold can express both, which is why a dark theme can pass 4.5:1 throughout and still read as low contrast.
The Six Levels
APCA's documentation defines levels by use case, each with minimum font sizes. Sizes assume a reference font such as Helvetica or Arial, in CSS px:
| Level | Use | Minimum sizes |
|---|---|---|
| Lc 90 | Preferred for body text | 18 px at 300, 14 px at 400; 12 px at 400 for non-body text |
| Lc 75 | Minimum for body text | 24 px at 300, 18 px at 400, 16 px at 500, 14 px at 700 |
| Lc 60 | Minimum for other content text | 48 px at 200, 36 px at 300, 24 px at 400, 21 px at 500, 18 px at 600, 16 px at 700 |
| Lc 45 | Headlines and large text | 36 px at 400, 24 px at 700 |
| Lc 30 | Absolute minimum for any text | Placeholder text, disabled controls, copyright lines |
| Lc 15 | Non-text that must be visible | Dividers and solid shapes at least 6 px thick |
Below Lc 15, the documentation tells designers to treat an element as invisible. Two adjustments sit on top of the table. To use the Lc 60 sizes for body text, add Lc 15: 24 px regular body text needs Lc 75, not 60. For the equivalent of WCAG's AAA level, add Lc 15 to every row.
The common shorthand "Lc 75 for body text" drops the size. Lc 75 covers body text at 18 px in regular weight. At 16 px regular, the browser default and a common body size, APCA's lookup asks for Lc 90.
The Level List and the Lookup Table Disagree
apca-w3 also ships a lookup function, fontLookupAPCA. You give it an Lc and it returns the smallest font size for each weight from 100 to 900. It interpolates between rows every 5 Lc, so it can answer for values the level list skips: at Lc 71.6 it returns 19.5 px for weight 400 and 14.5 px for weight 700.
Its rows match the level list at Lc 75 exactly. Elsewhere, three cells differ:
| Cell | Level list | fontLookupAPCA |
|---|---|---|
| Lc 90, weight 400 | 14 px | 16 px |
| Lc 60, weight 300 | 36 px | 42 px |
| Lc 45, weight 400 | 36 px | 42 px |
The lookup is the stricter source in all three cells. This checker uses the lookup, so its 400-weight minimum at Lc 90 is 16 px. If you work from the level list, keep 14 px at Lc 90 for short non-body text and set paragraphs larger.
The function also has two sentinel values. 999 means no text at all (below Lc 14.5), and 777 means non-text or spot text only (below Lc 29.5). The tool shows both as a dash.
Computing It Yourself
The apca-w3 package exposes the same functions the tool calls:
import { APCAcontrast, sRGBtoY, fontLookupAPCA } from "apca-w3";
const lc = APCAcontrast(sRGBtoY([118, 118, 118]), sRGBtoY([255, 255, 255]));
// 71.57 — text color first, background second
const sizes = fontLookupAPCA(lc);
// [ "71.57", 63, 43, 27, 19.5, 17.5, 16, 14.5, 16, 18 ]
// Lc 100 200 300 400 500 600 700 800 900
Argument order matters. Swap text and background and the result is a different number, not just a different sign: white on #767676 is Lc −77.0, enough for 18 px body text, while #767676 on white is Lc +71.6. The license on apca-w3 also forbids changing its constants, and implementations that drift from them are not allowed to call themselves APCA. Using the package rather than copying the math keeps a port from drifting.
Where APCA Stands
APCA is not part of WCAG 2.x, and WCAG 2 is what accessibility law and procurement rules reference today. WCAG 3, where APCA was proposed, is still a working draft. A pair that passes 4.5:1 is conformant whatever its Lc. APCA is still useful alongside the ratio. It catches dark-mode text that passes WCAG 2 at Lc 30, and it shows where WCAG 2 is the stricter of the two: white on #808080 fails AA at 3.95:1, yet scores Lc −72.4, which the lookup accepts from 19 px at weight 400. For how the two formulas differ, see why WCAG 2 and APCA disagree on the same gray and the WCAG ratio worked step by step.
Try It
Open the Contrast Checker with #767676 on #FFFFFF: WCAG 4.54, APCA Lc +71.6, minimum 19.5 px at weight 400. Click Swap: Lc becomes −77.0 and the minimum drops to 18 px. Then set the background to #000000 and the text back to #767676: WCAG reads 4.62 and passes AA, while APCA reads Lc −30.1 and asks for 108 px at weight 400.