Tailwind Green 800

green-800 · #166534 · rgb(22, 101, 52)

green-800 is a dark green from the Tailwind CSS default palette, hex code #166534.

HEX#166534
RGBrgb(22, 101, 52)
HSLhsl(143, 64%, 24%)
CMYKcmyk(78%, 0%, 49%, 60%)
CSS variable (v4)var(--color-green-800)
Color nameBottle Green (closest)

Classes

bg-green-800
text-green-800
border-green-800
ring-green-800
from-green-800 via-green-800 to-green-800
bg-green-800/50   /* 50% opacity */
White text · 7.13:1 · AAA
Black text · 2.95:1 · fails
text-green-300 · 5.08:1 · AA

Check contrast with any color →

Tailwind green-800: questions & answers

What is the HEX code of Tailwind green-800?

Tailwind green-800 is #166534, which is rgb(22, 101, 52) or hsl(143, 64%, 24%).

How do I use green-800 as a background in Tailwind?

Add the class bg-green-800 to the element. Use text-green-800 for text and border-green-800 for borders.

What text color works on bg-green-800?

green-300 (#86EFAC) is the closest shade of the same color with readable contrast (5.08:1). Plain white text gives 7.13:1.