Tailwind Yellow 900

yellow-900 · #713F12 · rgb(113, 63, 18)

yellow-900 is a dark vivid orange from the Tailwind CSS default palette, hex code #713F12.

HEX#713F12
RGBrgb(113, 63, 18)
HSLhsl(28, 73%, 26%)
CMYKcmyk(0%, 44%, 84%, 56%)
CSS variable (v4)var(--color-yellow-900)
Color nameSepia (closest)

Classes

bg-yellow-900
text-yellow-900
border-yellow-900
ring-yellow-900
from-yellow-900 via-yellow-900 to-yellow-900
bg-yellow-900/50   /* 50% opacity */
White text · 8.67:1 · AAA
Black text · 2.42:1 · fails
text-yellow-500 · 4.52:1 · AA

Check contrast with any color →

Tailwind yellow-900: questions & answers

What is the HEX code of Tailwind yellow-900?

Tailwind yellow-900 is #713F12, which is rgb(113, 63, 18) or hsl(28, 73%, 26%).

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

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

What text color works on bg-yellow-900?

yellow-500 (#EAB308) is the closest shade of the same color with readable contrast (4.52:1). Plain white text gives 8.67:1.