Tailwind Green 900

green-900 · #14532D · rgb(20, 83, 45)

green-900 is a dark green from the Tailwind CSS default palette, hex code #14532D.

HEX#14532D
RGBrgb(20, 83, 45)
HSLhsl(144, 61%, 20%)
CMYKcmyk(76%, 0%, 46%, 67%)
CSS variable (v4)var(--color-green-900)
Color namePine Green (closest)

Classes

bg-green-900
text-green-900
border-green-900
ring-green-900
from-green-900 via-green-900 to-green-900
bg-green-900/50   /* 50% opacity */
White text · 9.11:1 · AAA
Black text · 2.3:1 · fails
text-green-400 · 5.23:1 · AA

Check contrast with any color →

Tailwind green-900: questions & answers

What is the HEX code of Tailwind green-900?

Tailwind green-900 is #14532D, which is rgb(20, 83, 45) or hsl(144, 61%, 20%).

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

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

What text color works on bg-green-900?

green-400 (#4ADE80) is the closest shade of the same color with readable contrast (5.23:1). Plain white text gives 9.11:1.