Tailwind Yellow 100

yellow-100 · #FEF9C3 · rgb(254, 249, 195)

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

HEX#FEF9C3
RGBrgb(254, 249, 195)
HSLhsl(55, 97%, 88%)
CMYKcmyk(0%, 2%, 23%, 0%)
CSS variable (v4)var(--color-yellow-100)
Color nameCream (closest)

Classes

bg-yellow-100
text-yellow-100
border-yellow-100
ring-yellow-100
from-yellow-100 via-yellow-100 to-yellow-100
bg-yellow-100/50   /* 50% opacity */
White text · 1.07:1 · fails
Black text · 19.55:1 · AAA
text-yellow-700 · 4.58:1 · AA

Check contrast with any color →

Tailwind yellow-100: questions & answers

What is the HEX code of Tailwind yellow-100?

Tailwind yellow-100 is #FEF9C3, which is rgb(254, 249, 195) or hsl(55, 97%, 88%).

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

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

What text color works on bg-yellow-100?

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