Skip to main content

Published on 13 July, 2026 . By PalettIQ Team

How to check color contrast for accessibility in 30 seconds

Not every contrast check needs to start with understanding relative luminance formulas. Sometimes you just need to know, right now, whether this specific gray text on that specific white card is going to be readable. Here's the fast version — no theory, just the actual steps.

The actual 30-second process

1. Grab both hex values. Pull the exact hex or HSL code for your text color and the exact code for its background. If you're checking a live site, your browser's inspector will give you both in a couple of clicks.

2. Drop them into a contrast checker. Paste the text color into one field and the background into the other. Any decent contrast checker returns the exact ratio instantly, along with a clear pass or fail against WCAG AA and AAA.

3. Read the number. You want at least 4.5:1 for normal text, or 3:1 if the text is large (18pt/24px regular or bigger, or 14pt/18.66px bold or bigger). If the tool shows a green AA pass, you're done.

4. If it fails, nudge lightness. Darken the text or lighten the background slightly and recheck. Most failing pairings pass with a small lightness adjustment, not a completely new color choice.

The shortcut if you're already in dev tools

If you're inspecting an element you already suspect has a contrast problem, most modern browsers flag it directly in the color picker inside the inspector — click the color swatch on a text element's computed styles, and you'll often see the contrast ratio and pass/fail status right there, without opening a separate tool at all.

When this quick check isn't the whole job

This method is built for a single, specific pairing — checking your entire interface means repeating it for every meaningful text/background combination, including hover states, disabled states, and placeholder text, which people often forget to check separately. It also doesn't cover non-text elements like button borders and icons, which have their own separate 3:1 requirement.

If you want the full explanation of what these numbers actually measure and why 4.5:1 specifically was chosen, that's covered in more depth in our full breakdown of WCAG contrast ratios. This post is deliberately just the fast version.

Quick mistakes to avoid even when moving fast

  • Checking the ratio against the wrong background — grabbing a color from one section and pasting it against a different section's background by mistake.
  • Trusting how it looks on your screen instead of the actual returned number.
  • Forgetting to check the hover or disabled state, which often uses a lighter, unverified color.

Quick questions people have about this

Is 30 seconds actually realistic, or is that an exaggeration?

For a single text/background pairing, it's genuinely realistic — copy two hex values into a checker and read the result. What takes longer is checking every pairing across an entire interface, which is a different task than the quick spot-check this covers.

What number am I actually looking for?

4.5:1 for normal body text, 3:1 for large text (18pt/24px regular or 14pt/18.66px bold). If the tool shows a ratio at or above that, along with a visible AA pass, you're good for the standard most sites target.

Can I just eyeball it if I'm in a hurry?

Not reliably. Screen brightness, lighting, and your own vision all compensate for contrast problems a real checker won't. The 30-second method exists specifically because eyeballing isn't accurate enough to trust.

Does this quick check cover everything I need for accessible color?

No, it covers text contrast specifically. Color-blind safety, non-text contrast for buttons and icons, and dark mode all need their own separate checks — this is the fastest way to catch the most common single issue, not a full audit.

Make it a reflex, not a research project

The whole point of a 30-second check is that it's fast enough to actually do every time, instead of something that gets skipped because it feels like a bigger task than it is. Two hex values, one tool, one number to read — that's genuinely the whole process for a single pairing.