Toolman

Tailwind stone colours

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

Every stone shade

ClassHexRGBOn whiteText colourAs text
stone-50#FAFAF9250, 250, 2491.04:1black
stone-100#F5F5F4245, 245, 2441.09:1black
stone-200#E7E5E4231, 229, 2281.26:1black
stone-300#D6D3D1214, 211, 2091.49:1black
stone-400#A8A29E168, 162, 1582.52:1black
stone-500#78716C120, 113, 1084.8:1whiteAA
stone-600#57534E87, 83, 787.63:1whiteAA
stone-700#44403C68, 64, 6010.27:1whiteAA
stone-800#29252441, 37, 3615.17:1whiteAA
stone-900#1C191728, 25, 2317.49:1whiteAA
stone-950#0C0A0912, 10, 919.76: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

stone-500 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 stone in Tailwind

<div class="bg-stone-500 text-white">
<p class="text-stone-500">

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

Frequently asked questions

What is the hex code for Tailwind stone-500?

#78716C — RGB 120, 113, 108. Full values and contrast for #78716C.

Which Tailwind stone shades can I use for text?

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

Black up to stone-400, white from stone-500 down. The two are never both comfortable: at the crossover neither reaches 4.5:1.

All Tailwind colours · Colour reference