Tailwind Yellow 600

yellow-600 · #CA8A04 · rgb(202, 138, 4)

yellow-600 is a medium vivid yellow from the Tailwind CSS default palette, hex code #CA8A04.

HEX#CA8A04
RGBrgb(202, 138, 4)
HSLhsl(41, 96%, 40%)
CMYKcmyk(0%, 32%, 98%, 21%)
CSS variable (v4)var(--color-yellow-600)
Color nameDark Goldenrod (closest)

Classes

bg-yellow-600
text-yellow-600
border-yellow-600
ring-yellow-600
from-yellow-600 via-yellow-600 to-yellow-600
bg-yellow-600/50   /* 50% opacity */
White text · 2.94:1 · fails
Black text · 7.15:1 · AAA
text-yellow-950 · 4.96:1 · AA

Check contrast with any color →

Tailwind yellow-600: questions & answers

What is the HEX code of Tailwind yellow-600?

Tailwind yellow-600 is #CA8A04, which is rgb(202, 138, 4) or hsl(41, 96%, 40%).

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

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

What text color works on bg-yellow-600?

yellow-950 (#422006) is the closest shade of the same color with readable contrast (4.96:1). Plain black text gives 7.15:1.