Accessibility checker
Test a foreground colour against a background colour, see the contrast ratio instantly, and check whether the pair passes WCAG guidance for normal text, large text, and interface elements.
Contrast ratio
21.00:1 Excellent contrast for normal and large textLive preview
Black Cats Studio
Your colours should work in the real world, not just in a picker. Test headings, body copy, and buttons before your design disappears into the dark.
Colours
Guide
Text needs enough separation from its background so people can read it comfortably. Two colours can look different in a palette but still be too close in brightness to be accessible.
Normal text should reach 4.5:1 for AA and 7:1 for AAA. Large text and many interface components have lower thresholds because their size or shape makes them easier to see.
Examples
| Foreground | Background | Use case |
|---|---|---|
| #111111 | #F6D365 | Dark text on a warm feature panel |
| #FFFFFF | #124E66 | Light text on a deep blue button |
| #0B1020 | #D9F99D | Dark interface text on a pale green notice |
| #F8FAFC | #3B0764 | Light headings on a rich purple banner |
If one of these tools helped you, feel free to support 27tools
Buy me a coffee