#0D542B on #000000: 2.32:1
#0D542B on #000000: contrast ratio 2.32:1 and APCA Lc -12. 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
#0D542B on #000000
WCAG 2.2 contrast ratio: 2.32: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 -12
Lc -12. 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
- #428356 on #000000 →
AA: #428356 → 4.61:1
oklch(0.553 0.096 152.3) · ΔL +0.16
- #67A779 on #000000 →
AAA: #67A779 → 7.38:1
oklch(0.673 0.096 152.3) · ΔL +0.28
Fix the background
- #0D542B on #BEBEBE →
AA: #BEBEBE → 4.86:1
oklch(0.800 0.000 0.0) · ΔL +0.80
- #0D542B on #E4E4E4 →
AAA: #E4E4E4 → 7.11:1
oklch(0.920 0.000 0.0) · ΔL +0.92
#0D542B = oklch(0.393 0.096 152.3) · #000000 = oklch(0.000 0.000 0.0)
Open this pair in the Contrast tool
Guides: WCAG 2.2 vs APCA · How to fix colour contrast