Color Contrast Checker
Ensure your designβs legibility with our contrast checker. Test text and background colors to meet WCAG accessibility standards (AA & AAA).
π¨ Contrast Analyzer
π Text Color
Foreground
πΌοΈ Background Color
Background
The quick brown fox jumps over the lazy dog
Almost before we knew it, we had left the ground. This text demonstrates readability contrast.
Sample text β WCAG contrast testπ Understanding WCAG Contrast Requirements
The Web Content Accessibility Guidelines (WCAG) define two levels of contrast compliance: AA (minimum) and AAA (enhanced). For normal text (under 18pt / 24px), the required contrast ratio is at least 4.5:1 for AA, and 7:1 for AAA. Large text (β₯18pt or 24px bold) requires 3:1 (AA) and 4.5:1 (AAA). Our tool calculates the relative luminance and gives instant pass/fail indicators.
π‘ Contrast Ratio = (L1 + 0.05) / (L2 + 0.05) where L1 is lighter luminance, L2 darker.
Copied to clipboard