#FFB900 on #FFFFFF: 1.72:1
#FFB900 on #FFFFFF: contrast ratio 1.72:1 and APCA Lc 31. WCAG 2.2 AA and AAA results for normal text, large text and UI, plus the nearest accessible text or background color via OKLCH lightness.
Preview
Large heading sample
The quick brown fox jumps over the lazy dog
#FFB900 on #FFFFFF
WCAG 2.2 contrast ratio: 1.72:1
WCAG 2.2 uses the same contrast formula as 2.1. Ratios are floored to two decimals, never rounded up.
| Text type | AA | AAA |
|---|---|---|
| Normal text | ✗ Fail | ✗ Fail |
| Large text (24px+, or 18.66px+ bold) | ✗ Fail | ✗ Fail |
| UI components and graphics | ✗ Fail | n/a |
APCA lightness contrast: Lc 31
Lc 31. Body text needs about Lc 75+, large text and UI about Lc 45+. Positive means dark text on a light background, negative means light text on dark.
Fixes via OKLCH lightness
The fix keeps hue and chroma and moves only OKLCH lightness to the nearest step that reaches the target for normal text, so it still looks like the same color. It is the same logic as the Fix button in the studio.
Fix the text color
- #A36100 on #FFFFFF →
AA: #A36100 → 4.92:1
oklch(0.549 0.171 81.0) · ΔL −0.28 · clipped into sRGB
- #7D3D00 on #FFFFFF →
AAA: #7D3D00 → 8.26:1
oklch(0.429 0.171 81.0) · ΔL −0.40 · clipped into sRGB
Fix the background
- #FFB900 on #525252 →
AA: #525252 → 4.53:1
oklch(0.440 0.000 0.0) · ΔL −0.56
- #FFB900 on #333333 →
AAA: #333333 → 7.33:1
oklch(0.320 0.000 0.0) · ΔL −0.68
#FFB900 = oklch(0.829 0.171 81.0) · #FFFFFF = oklch(1.000 0.000 0.0)
Open this pair in the Contrast tool
Guides: WCAG 2.2 vs APCA · How to fix colour contrast