#8FBC8F on #3D3D3D: 5.04:1
#8FBC8F on #3D3D3D: contrast ratio 5.04:1 and APCA Lc -51. 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
#8FBC8F on #3D3D3D
WCAG 2.2 contrast ratio: 5.04: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 | ✓ Pass | ✗ Fail |
| Large text (24px+, or 18.66px+ bold) | ✓ Pass | ✓ Pass |
| UI components and graphics | ✓ Pass | n/a |
APCA lightness contrast: Lc -51
Lc -51. 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
- Already passes AA, no change needed.
- #B5E3B4 on #3D3D3D →
AAA: #B5E3B4 → 7.55:1
oklch(0.871 0.080 144.7) · ΔL +0.12
Fix the background
- Already passes AA, no change needed.
- #8FBC8F on #1F1F1F →
AAA: #1F1F1F → 7.65:1
oklch(0.240 0.000 0.0) · ΔL −0.12
#8FBC8F = oklch(0.751 0.080 144.7) · #3D3D3D = oklch(0.360 0.000 0.0)
Open this pair in the Contrast tool
Guides: WCAG 2.2 vs APCA · How to fix colour contrast