Tailwind Orange 500

orange-500 · #F97316 · rgb(249, 115, 22)

orange-500 is a medium vivid orange from the Tailwind CSS default palette, hex code #F97316.

HEX#F97316
RGBrgb(249, 115, 22)
HSLhsl(25, 95%, 53%)
CMYKcmyk(0%, 54%, 91%, 2%)
CSS variable (v4)var(--color-orange-500)
Color namePumpkin (closest)

Classes

bg-orange-500
text-orange-500
border-orange-500
ring-orange-500
from-orange-500 via-orange-500 to-orange-500
bg-orange-500/50   /* 50% opacity */
White text · 2.8:1 · fails
Black text · 7.49:1 · AAA
text-orange-950 · 5.58:1 · AA

Check contrast with any color →

Tailwind orange-500: questions & answers

What is the HEX code of Tailwind orange-500?

Tailwind orange-500 is #F97316, which is rgb(249, 115, 22) or hsl(25, 95%, 53%).

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

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

What text color works on bg-orange-500?

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