WCAG Color Contrast Checker (AA / AAA)
Check accessibility contrast ratio between foreground text HEX and background HEX colors.
Live Workbench
1. Enter Inputs
2. Instant Result — Contrast Ratio & WCAG Grade
—
Yearly Breakdown
Worked Example
Example: Enter #0f172a and #f8fafc into WCAG Color Contrast Checker (AA / AAA). Using Ratio = (L1 + 0.05) ÷ (L2 + 0.05) | AA >= 4.5:1 | AAA >= 7.0:1, the tool immediately computes Contrast Ratio & WCAG Grade.
How to Use WCAG Color Contrast Checker (AA / AAA)
- Enter your starting value in Foreground Text HEX and Background HEX.
- Review the instant output in Contrast Ratio & WCAG Grade or click a Quick Preset above.
- Use Copy Output, Share Link, or Download to save or share your result.
Formula & Rule
Ratio = (L1 + 0.05) ÷ (L2 + 0.05) | AA >= 4.5:1 | AAA >= 7.0:1
Quick Reference
| Reference | Value |
|---|---|
| #0F172A on #F8FAFC | 17.4 : 1 (AAA Pass) |
Common Use Cases
- Use WCAG Color Contrast Checker (AA / AAA) (Web Design Tools) for quick calculations using Ratio = (L1 + 0.05) ÷ (L2 + 0.05) | AA >= 4.5:1 | AAA >= 7.0:1.
- Test custom values starting from sample input '#0f172a' and share or download results.
Edge Cases & Notes
- WCAG Color Contrast Checker (AA / AAA) expects valid foreground text hex input; empty or malformed entries return a prompt.
- Numeric outputs are rounded up to 6 decimal places for clean display.
Frequently Asked Questions
How does WCAG Color Contrast Checker (AA / AAA) calculate results?
WCAG Color Contrast Checker (AA / AAA) applies Ratio = (L1 + 0.05) ÷ (L2 + 0.05) | AA >= 4.5:1 | AAA >= 7.0:1 directly in your browser with instant results.
Can I share or embed WCAG Color Contrast Checker (AA / AAA)?
Yes. Use Share Link to bookmark pre-filled inputs, or click Embed Tool to add this tool to any blog or site.
Is my data kept private when using WCAG Color Contrast Checker (AA / AAA)?
Yes. Your inputs stay on your device and are not uploaded to any server.
Submit Feedback
Found a bug or want a new feature on WCAG Color Contrast Checker (AA / AAA)? Send feedback to info@toolshelper.com.