Tailwind Orange 300

orange-300 · #FDBA74 · rgb(253, 186, 116)

orange-300 is a light vivid orange from the Tailwind CSS default palette, hex code #FDBA74.

HEX#FDBA74
RGBrgb(253, 186, 116)
HSLhsl(31, 97%, 72%)
CMYKcmyk(0%, 26%, 54%, 1%)
CSS variable (v4)var(--color-orange-300)
Color nameApricot (closest)

Classes

bg-orange-300
text-orange-300
border-orange-300
ring-orange-300
from-orange-300 via-orange-300 to-orange-300
bg-orange-300/50   /* 50% opacity */
White text · 1.69:1 · fails
Black text · 12.45:1 · AAA
text-orange-900 · 5.56:1 · AA

Check contrast with any color →

Tailwind orange-300: questions & answers

What is the HEX code of Tailwind orange-300?

Tailwind orange-300 is #FDBA74, which is rgb(253, 186, 116) or hsl(31, 97%, 72%).

How do I use orange-300 as a background in Tailwind?

Add the class bg-orange-300 to the element. Use text-orange-300 for text and border-orange-300 for borders.

What text color works on bg-orange-300?

orange-900 (#7C2D12) is the closest shade of the same color with readable contrast (5.56:1). Plain black text gives 12.45:1.