AES Encryption Explained: How It Works and Why It Matters
Jun 23, 2026
Check foreground/background color contrast ratio against WCAG 2.2 AA/AAA compliance levels with pass/fail indicator.
AA Normal
--
≥ 4.5:1
AA Large
--
≥ 3:1
AAA Normal
--
≥ 7:1
AAA Large
--
≥ 4.5:1
Sample Text — The quick brown fox jumps over the lazy dog.
Small text sample for visual reference. WCAG requires 4.5:1 for normal text and 3:1 for large text (≥18pt or ≥14pt bold).
| Level | Normal Text | Large Text | Description |
|---|---|---|---|
| AA | ≥ 4.5:1 | ≥ 3:1 | Minimum contrast for readability |
| AAA | ≥ 7:1 | ≥ 4.5:1 | Enhanced contrast for better accessibility |
Large text is defined as ≥18pt or ≥14pt bold. These criteria apply to text and images of text, excluding logos and decorative elements.
The contrast ratio is a measure of the difference in luminance between two colors, ranging from 1:1 (identical) to 21:1 (black on white). WCAG defines minimum ratios for accessible text.
The relative luminance of each color is calculated using the sRGB formula, then the ratio is (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color's luminance. This follows the WCAG 2.x specification.
AA is the minimum compliance level required by most accessibility standards (e.g., Section 508). AAA is a higher standard that provides enhanced readability for users with visual impairments.
No. All calculations happen 100% client-side in your browser. Your colors never leave your device.
Blog
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026