Tailwind Neutral 600

neutral-600 · #525252 · rgb(82, 82, 82)

neutral-600 is a dark gray from the Tailwind CSS default palette, hex code #525252.

HEX#525252
RGBrgb(82, 82, 82)
HSLhsl(0, 0%, 32%)
CMYKcmyk(0%, 0%, 0%, 68%)
CSS variable (v4)var(--color-neutral-600)
Color nameObsidian (closest)

Classes

bg-neutral-600
text-neutral-600
border-neutral-600
ring-neutral-600
from-neutral-600 via-neutral-600 to-neutral-600
bg-neutral-600/50   /* 50% opacity */
White text · 7.81:1 · AAA
Black text · 2.69:1 · fails
text-neutral-300 · 5.27:1 · AA

Check contrast with any color →

Tailwind neutral-600: questions & answers

What is the HEX code of Tailwind neutral-600?

Tailwind neutral-600 is #525252, which is rgb(82, 82, 82) or hsl(0, 0%, 32%).

How do I use neutral-600 as a background in Tailwind?

Add the class bg-neutral-600 to the element. Use text-neutral-600 for text and border-neutral-600 for borders.

What text color works on bg-neutral-600?

neutral-300 (#D4D4D4) is the closest shade of the same color with readable contrast (5.27:1). Plain white text gives 7.81:1.