Enter Foreground and Background Colors
Add text and background colors as hex values in the WCAG color contrast checker. The preview shows how the combination appears in real use.
Use this WCAG color contrast checker to test foreground and background color combinations for readability. Enter hex colors, view the contrast ratio, and check WCAG AA and AAA pass status for normal text, large text, and interface design.
Workspace
Use the tool below. Your inputs stay local when the tool supports browser-only processing.
The quick brown fox jumps over the lazy dog.
Small text sample for visual comparison.
Workflow
Add text and background colors as hex values in the WCAG color contrast checker. The preview shows how the combination appears in real use.
The WCAG color contrast checker calculates the contrast ratio and marks whether it passes normal text, large text, and interface contrast recommendations.
Change either color until the ratio passes your target level. Use the WCAG color contrast checker while designing buttons, text, links, and UI states.
A WCAG color contrast checker measures the luminance contrast between foreground and background colors. The result helps determine whether text is readable for users with low vision.
WCAG AA is the common accessibility target for most websites, while AAA is stricter. This checker shows both so you can choose the level that fits your design and compliance goals.