Toolman

Tailwind teal colours

The eleven teal shades in the default Tailwind CSS palette, with the contrast figures that decide which of them you can actually put text on.

Every teal shade

ClassHexRGBOn whiteText colourAs text
teal-50#F0FDFA240, 253, 2501.04:1black
teal-100#CCFBF1204, 251, 2411.13:1black
teal-200#99F6E4153, 246, 2281.26:1black
teal-300#5EEAD494, 234, 2121.48:1black
teal-400#2DD4BF45, 212, 1911.86:1black
teal-500#14B8A620, 184, 1662.49:1black
teal-600#0D948813, 148, 1363.74:1blacklarge only
teal-700#0F766E15, 118, 1105.47:1whiteAA
teal-800#115E5917, 94, 897.58:1whiteAA
teal-900#134E4A19, 78, 749.48:1whiteAA
teal-950#042F2E4, 47, 4614.47:1whiteAA

"On white" is the contrast ratio against a white page. "As text" is whether that ratio passes WCAG AA for normal text, which needs 4.5:1; large text needs only 3:1.

Where the scale turns over

teal-700 is the lightest shade that reaches 4.5:1 against white, so it is the first one usable for body text on a white page. It is also where a background of this hue stops taking black text and starts needing white — the two thresholds are 4.5:1 and 4.58:1, and on this scale they fall on the same step.

Using teal in Tailwind

<div class="bg-teal-500 text-black">
<p class="text-teal-700">

The text class above is the lightest teal that still passes AA on a white background.

Frequently asked questions

What is the hex code for Tailwind teal-500?

#14B8A6 — RGB 20, 184, 166. Full values and contrast for #14B8A6.

Which Tailwind teal shades can I use for text?

teal-700, teal-800, teal-900, teal-950 reach 4.5:1 against white and pass AA for normal text. Anything lighter fails, whatever it looks like on your monitor.

Should text on a teal background be black or white?

Black up to teal-600, white from teal-700 down. The two are never both comfortable: at the crossover neither reaches 4.5:1.

All Tailwind colours · Colour reference