Toolman

Tailwind cyan colours

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

Every cyan shade

ClassHexRGBOn whiteText colourAs text
cyan-50#ECFEFF236, 254, 2551.04:1black
cyan-100#CFFAFE207, 250, 2541.12:1black
cyan-200#A5F3FC165, 243, 2521.25:1black
cyan-300#67E8F9103, 232, 2491.45:1black
cyan-400#22D3EE34, 211, 2381.81:1black
cyan-500#06B6D46, 182, 2122.43:1black
cyan-600#0891B28, 145, 1783.68:1blacklarge only
cyan-700#0E749014, 116, 1445.36:1whiteAA
cyan-800#155E7521, 94, 1177.27:1whiteAA
cyan-900#164E6322, 78, 999.11:1whiteAA
cyan-950#0833448, 51, 6813.4: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

cyan-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 cyan in Tailwind

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

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

Frequently asked questions

What is the hex code for Tailwind cyan-500?

#06B6D4 — RGB 6, 182, 212. Full values and contrast for #06B6D4.

Which Tailwind cyan shades can I use for text?

cyan-700, cyan-800, cyan-900, cyan-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 cyan background be black or white?

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

All Tailwind colours · Colour reference