#B1B1B1 on #44403B: 4.79:1

#B1B1B1 on #44403B: contrast ratio 4.79:1 and APCA Lc -50. 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

#B1B1B1 on #44403B

Swap text and background →

WCAG 2.2 contrast ratio: 4.79:1

WCAG 2.2 uses the same contrast formula as 2.1. Ratios are floored to two decimals, never rounded up.

Text typeAAAAA
Normal text✓ Pass✗ Fail
Large text (24px+, or 18.66px+ bold)✓ Pass✓ Pass
UI components and graphics✓ Passn/a

APCA lightness contrast: Lc -50

Lc -50. 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.
  • AAA: #D7D7D7 → 7.14:1

    oklch(0.880 0.000 0.0) · ΔL +0.12

    #D7D7D7 on #44403B →

Fix the background

  • Already passes AA, no change needed.
  • AAA: #25221D → 7.38:1

    oklch(0.254 0.010 73.6) · ΔL −0.12

    #B1B1B1 on #25221D →

#B1B1B1 = oklch(0.760 0.000 0.0) · #44403B = oklch(0.374 0.010 73.6)

Open this pair in the Contrast tool

Guides: WCAG 2.2 vs APCA · How to fix colour contrast