Free · WCAG 2.2 · Tailwind palette

Pick colors that actually pass accessibility.

Two Tailwind palette pickers, one live preview, four WCAG verdicts. If your pair fails, the tool suggests a shade in the same hue that passes AA.

neutral-950 on neutral-50

Large display headline, 34px, weight 600.

Eighteen-pixel subheadline — still counts as "large" under WCAG AA when weight is 700+.

Body paragraph at 14px. WCAG AA normal-text threshold is 4.5:1; anything below trips an accessibility audit. This preview renders the live foreground-on-background at the real sizes browsers use.

Caption text — 12px, treated as normal for WCAG.

18.97:1

Contrast ratio

AA
AA·L
AAA
AAA·L

#0A0A0A / #FAFAFA

Foreground

neutral
stone
zinc
slate
gray
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose

Background

neutral
stone
zinc
slate
gray
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
Reference

WCAG thresholds at a glance

LevelNormal textLarge text (18pt+ or 14pt bold)UI / graphics
AA4.5:13:13:1
AAA7:14.5:1
How it works

Four steps

  1. 1

    Pick a foreground

    Browse the full Tailwind palette.

  2. 2

    Pick a background

    Or use the swap button to try the pair in reverse.

  3. 3

    Read the verdict

    AA / AA-Large / AAA / AAA-Large badges flip green as you cross each threshold.

  4. 4

    Apply a suggestion

    If the pair fails AA, the tool suggests a nearby shade in the same family that passes.

Questions

Frequently asked

What's WCAG AA vs AAA?+

AA requires a 4.5:1 contrast ratio for normal text and 3:1 for large text (18pt+, or 14pt+ bold). AAA is stricter: 7:1 for normal, 4.5:1 for large. AA is the web accessibility standard most teams target; AAA is a best-effort bar.

Does Tailwind's default palette include accessible pairs?+

Yes — within each color, shades 50 and 950 are near-white and near-black, so pairing either with the opposite end of another color typically passes AA. The closer two shades are in brightness, the harder they fail. The suggestion helper picks the closest AA-compliant shade in the same hue so your design intent isn't thrown off.

Why does 14pt bold count as large?+

WCAG treats bold weight (≥700) as a compensating factor — heavier strokes are easier to read at smaller sizes. Normal 14pt is "normal"; bold 14pt gets the looser 3:1 threshold.

Is there an API?+

No — everything runs in your browser. Copy the hex values or the Tailwind token labels and use them in your design tokens or Tailwind config.

More free tools

Keep building

— Shipping to the App Store?

Translating screenshots into every locale is what lokal was built for. Upload once, ship to every store.

Explore lokal