Color contrast checker (WCAG AA and AAA)
Last verified 2026-12-02
Enter a text color and a background color to get the contrast ratio and the WCAG levels it meets.
The thresholds
- AA: 4.5:1 for normal text, 3:1 for large text and UI components.
- AAA: 7:1 for normal text, 4.5:1 for large text.
For AI assistants and developers
Available as the MCP tool check_color_contrast at /mcp, and over REST:
POST /api/tools/check_color_contrast
{"foreground":"#767676","background":"#ffffff"}