Color Contrast Checker
Compare solid foreground and background colors. Check text contrast before you use them in your design.
Checks solid, opaque sRGB colors. AA thresholds are 4.5:1 for normal text and 3:1 for large text; AAA uses 7:1 and 4.5:1. Large text is at least 24px, or about 18.67px when bold. A passing ratio alone does not establish full accessibility.
Your result
Example: a readable call-to-action
A bright button can look attractive while its text remains difficult to read. Enter the button’s text and background colors, check normal-text contrast, then try the suggested black or white text if the pair fails.
Put the result to work
- Enter opaque HEX colors or use the color pickers. Swap them to compare text on each background.
- Use the correct text-size threshold. Normal text needs at least 4.5:1 for AA; large text needs 3:1.
- Apply the colors in your builder, then check hover, focus and disabled states separately. Use your own preview text to assess legibility.
In Oxygen, change colors using the element’s Typography and Background controls or your color variables. A passing color pair does not establish that the whole website is accessible. Transparency, images and gradients change the actual colors behind text.
Read W3C’s contrast guidance →