FREE WCAG COLOR CONTRAST CHECKER
Check foreground and background colors against WCAG contrast requirements with live ratio calculations in your browser.
Evaluated using the official W3C sRGB relative luminance formula with threshold 0.04045.
Illustrative Rendered Preview
Live preview rendered with active foreground & backgroundAccessible Digital Experiences for Everyone
Web accessibility ensures that websites, tools, and technologies are designed and developed so that people with visual disabilities—including low vision and color blindness—can perceive, understand, navigate, and interact with the web effectively.
Sample Reference Color Pairs
Click any preset pair to test instant contrast calculationsHow to Check Color Contrast Against WCAG Requirements
Select Foreground Color
Choose or paste a HEX color code for your text, iconography, or interactive UI elements.
Select Background Color
Input the HEX code representing the underlying surface or canvas background.
Choose Context Mode
Switch between Text Contrast (Normal vs. Large text) and Non-Text / UI Component evaluation.
Review Ratios & Status
Examine the calculated contrast ratio and individual pass/fail status cards for WCAG AA and AAA.
Adjust or Copy Color Codes
Fine-tune lightness levels, apply suggested accessible alternatives, or copy verified HEX/RGB values.
What Is a WCAG Color Contrast Checker?
How Color Contrast Is Calculated
(L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter color and L2 is the relative luminance of the darker color. The addition of 0.05 prevents division-by-zero errors and accounts for ambient screen flare.WCAG AA Contrast Requirements
WCAG AAA Contrast Requirements
Normal Text vs Large Text
Non-Text Contrast Requirements
How to Use This Contrast Checker
Understanding Your Contrast Ratio
#000000 against pure white #FFFFFF).What to Do When Contrast Fails
Choosing Accessible Foreground Colors
Choosing Accessible Background Colors
#F8FAFC or #F3F4F6) reduce screen glare compared to harsh pure white, but slightly lower the contrast ratio against dark text.#FFFFFF.Testing Links and Text
Contrast and Color Accessibility
WCAG 2.2 and Color Contrast
Why Passing Contrast Does Not Mean Full WCAG Compliance
Privacy and Browser-Based Processing
Color Contrast Best Practices
Frequently Asked Questions
Frequently asked questions about WCAG 2.2 color contrast ratios, normal vs. large text thresholds, non-text UI guidelines, and relative luminance math.
Was this tool useful?
Your feedback helps us improve VClick Tools.