Tailwind Yellow 50

yellow-50 · #FEFCE8 · rgb(254, 252, 232)

yellow-50 is a very light vivid yellow from the Tailwind CSS default palette, hex code #FEFCE8.

HEX#FEFCE8
RGBrgb(254, 252, 232)
HSLhsl(55, 92%, 95%)
CMYKcmyk(0%, 1%, 9%, 0%)
CSS variable (v4)var(--color-yellow-50)
Color nameOff White (closest)

Classes

bg-yellow-50
text-yellow-50
border-yellow-50
ring-yellow-50
from-yellow-50 via-yellow-50 to-yellow-50
bg-yellow-50/50   /* 50% opacity */
White text · 1.03:1 · fails
Black text · 20.3:1 · AAA
text-yellow-700 · 4.76:1 · AA

Check contrast with any color →

Tailwind yellow-50: questions & answers

What is the HEX code of Tailwind yellow-50?

Tailwind yellow-50 is #FEFCE8, which is rgb(254, 252, 232) or hsl(55, 92%, 95%).

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

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

What text color works on bg-yellow-50?

yellow-700 (#A16207) is the closest shade of the same color with readable contrast (4.76:1). Plain black text gives 20.3:1.