Tailwind Amber 50

amber-50 · #FFFBEB · rgb(255, 251, 235)

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

HEX#FFFBEB
RGBrgb(255, 251, 235)
HSLhsl(48, 100%, 96%)
CMYKcmyk(0%, 2%, 8%, 0%)
CSS variable (v4)var(--color-amber-50)
Color nameFloral White (closest)

Classes

bg-amber-50
text-amber-50
border-amber-50
ring-amber-50
from-amber-50 via-amber-50 to-amber-50
bg-amber-50/50   /* 50% opacity */
White text · 1.04:1 · fails
Black text · 20.25:1 · AAA
text-amber-700 · 4.84:1 · AA

Check contrast with any color →

Tailwind amber-50: questions & answers

What is the HEX code of Tailwind amber-50?

Tailwind amber-50 is #FFFBEB, which is rgb(255, 251, 235) or hsl(48, 100%, 96%).

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

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

What text color works on bg-amber-50?

amber-700 (#B45309) is the closest shade of the same color with readable contrast (4.84:1). Plain black text gives 20.25:1.