#005F5A on #000000: 2.78:1
#005F5A on #000000: contrast ratio 2.78:1 and APCA Lc -16. 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
#005F5A on #000000
WCAG 2.2 contrast ratio: 2.78: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 -16
Lc -16. 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
- #35827C on #000000 →
AA: #35827C → 4.63:1
oklch(0.558 0.076 188.5) · ΔL +0.12
- #5CA7A1 on #000000 →
AAA: #5CA7A1 → 7.49:1
oklch(0.678 0.076 188.5) · ΔL +0.24
Fix the background
- #005F5A on #CACACA →
AA: #CACACA → 4.60:1
oklch(0.840 0.000 0.0) · ΔL +0.84
- #005F5A on #F8F8F8 →
AAA: #F8F8F8 → 7.10:1
oklch(0.980 0.000 0.0) · ΔL +0.98
#005F5A = oklch(0.438 0.076 188.5) · #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