Tailwind Orange 400

orange-400 · #FB923C · rgb(251, 146, 60)

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

HEX#FB923C
RGBrgb(251, 146, 60)
HSLhsl(27, 96%, 61%)
CMYKcmyk(0%, 42%, 76%, 2%)
CSS variable (v4)var(--color-orange-400)
Color namePastel Orange (closest)

Classes

bg-orange-400
text-orange-400
border-orange-400
ring-orange-400
from-orange-400 via-orange-400 to-orange-400
bg-orange-400/50   /* 50% opacity */
White text · 2.26:1 · fails
Black text · 9.28:1 · AAA
text-orange-950 · 6.92:1 · AA

Check contrast with any color →

Tailwind orange-400: questions & answers

What is the HEX code of Tailwind orange-400?

Tailwind orange-400 is #FB923C, which is rgb(251, 146, 60) or hsl(27, 96%, 61%).

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

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

What text color works on bg-orange-400?

orange-950 (#431407) is the closest shade of the same color with readable contrast (6.92:1). Plain black text gives 9.28:1.