About Strict WCAG 2.2, APCA & OKLCH Color Contrast Checker + Auto-Corrector
Because WCAG 2.2 compliance never rounds up, a contrast ratio of 4.499:1 is a strict legal and technical failure for normal body text (4.5:1 AA). This tool computes exact relative luminance using green-weighted human eye sensitivity (`0.2126R + 0.7152G + 0.0722B`) and truncates ratios without rounding.
Whenever a color combination fails Level AA (4.5:1) or Level AAA (7.0:1), the built-in Contrast Auto-Corrector algorithmically shifts lightness to suggest the closest valid foreground or background match—while also auditing your text color against a `#121212` Dark Mode surface and outputting modern CSS `oklch()` strings.
Luminance Math
L = 0.2126R + 0.7152G + 0.0722B (Strict No-Round)
Thresholds
Normal AA (4.5:1), AAA (7:1), Large/UI (3:1)
Auto-Corrector
1-Click Closest Valid Foreground & Background Fix
Next-Gen Specs
APCA Lc Score + CSS oklch() + #121212 Dark Check
Frequently Asked Questions
Why does 4.499:1 fail WCAG 2.2 Level AA?
W3C WCAG 2.2 guidelines require a minimum contrast ratio of 4.5:1 for normal text without rounding up. A ratio of 4.499:1 is strictly below 4.5:1 and is flagged as a failure.
How does the Contrast Auto-Corrector suggest replacement colors?
It preserves your original Hue and Saturation while searching across Lightness steps to find the smallest visual adjustment that strictly clears 4.5:1 (AA) or 7.0:1 (AAA).