Contrast checker
Check the WCAG 2 contrast ratio of text and background colours, see AA and AAA results for normal and large text, and get a passing colour.
Questions
What ratios does WCAG 2 require?
Level AA needs 4.5:1 for normal text and 3:1 for large text (at least 24px, or 18.66px bold). Level AAA needs 7:1 and 4.5:1. User interface parts and graphics need 3:1 under success criterion 1.4.11.
Why does it show 4.49 when another tool says 4.5?
Some tools round the ratio up. WCAG thresholds are exact, so 4.499:1 does not meet 4.5:1. This tool compares the exact value and shows it cut to two decimals, never rounded up.
What about transparent colours?
A translucent text colour is blended over the background before measuring. A translucent background is blended over white, which is an assumption: check it on the real page too.