Tailwind Stone 400

stone-400 · #A8A29E · rgb(168, 162, 158)

stone-400 is a light gray from the Tailwind CSS default palette, hex code #A8A29E.

HEX#A8A29E
RGBrgb(168, 162, 158)
HSLhsl(24, 5%, 64%)
CMYKcmyk(0%, 4%, 6%, 34%)
CSS variable (v4)var(--color-stone-400)
Color nameGreige (closest)

Classes

bg-stone-400
text-stone-400
border-stone-400
ring-stone-400
from-stone-400 via-stone-400 to-stone-400
bg-stone-400/50   /* 50% opacity */
White text · 2.52:1 · fails
Black text · 8.33:1 · AAA
text-stone-800 · 6.01:1 · AA

Check contrast with any color →

Tailwind stone-400: questions & answers

What is the HEX code of Tailwind stone-400?

Tailwind stone-400 is #A8A29E, which is rgb(168, 162, 158) or hsl(24, 5%, 64%).

How do I use stone-400 as a background in Tailwind?

Add the class bg-stone-400 to the element. Use text-stone-400 for text and border-stone-400 for borders.

What text color works on bg-stone-400?

stone-800 (#292524) is the closest shade of the same color with readable contrast (6.01:1). Plain black text gives 8.33:1.