Tailwind Neutral 50

neutral-50 · #FAFAFA · rgb(250, 250, 250)

neutral-50 is a very light white from the Tailwind CSS default palette, hex code #FAFAFA.

HEX#FAFAFA
RGBrgb(250, 250, 250)
HSLhsl(0, 0%, 98%)
CMYKcmyk(0%, 0%, 0%, 2%)
CSS variable (v4)var(--color-neutral-50)
Color nameSnow (closest)

Classes

bg-neutral-50
text-neutral-50
border-neutral-50
ring-neutral-50
from-neutral-50 via-neutral-50 to-neutral-50
bg-neutral-50/50   /* 50% opacity */
White text · 1.04:1 · fails
Black text · 20.12:1 · AAA
text-neutral-500 · 4.54:1 · AA

Check contrast with any color →

Tailwind neutral-50: questions & answers

What is the HEX code of Tailwind neutral-50?

Tailwind neutral-50 is #FAFAFA, which is rgb(250, 250, 250) or hsl(0, 0%, 98%).

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

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

What text color works on bg-neutral-50?

neutral-500 (#737373) is the closest shade of the same color with readable contrast (4.54:1). Plain black text gives 20.12:1.