Tailwind Orange 900

orange-900 · #7C2D12 · rgb(124, 45, 18)

orange-900 is a dark vivid orange from the Tailwind CSS default palette, hex code #7C2D12.

HEX#7C2D12
RGBrgb(124, 45, 18)
HSLhsl(15, 75%, 28%)
CMYKcmyk(0%, 64%, 85%, 51%)
CSS variable (v4)var(--color-orange-900)
Color nameChestnut (closest)

Classes

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

Check contrast with any color →

Tailwind orange-900: questions & answers

What is the HEX code of Tailwind orange-900?

Tailwind orange-900 is #7C2D12, which is rgb(124, 45, 18) or hsl(15, 75%, 28%).

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

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

What text color works on bg-orange-900?

orange-300 (#FDBA74) is the closest shade of the same color with readable contrast (5.56:1). Plain white text gives 9.37:1.