Tailwind Emerald 400

emerald-400 · #34D399 · rgb(52, 211, 153)

emerald-400 is a medium teal from the Tailwind CSS default palette, hex code #34D399.

HEX#34D399
RGBrgb(52, 211, 153)
HSLhsl(158, 64%, 52%)
CMYKcmyk(75%, 0%, 27%, 17%)
CSS variable (v4)var(--color-emerald-400)
Color nameMint (closest)

Classes

bg-emerald-400
text-emerald-400
border-emerald-400
ring-emerald-400
from-emerald-400 via-emerald-400 to-emerald-400
bg-emerald-400/50   /* 50% opacity */
White text · 1.92:1 · fails
Black text · 10.92:1 · AAA
text-emerald-900 · 5.06:1 · AA

Check contrast with any color →

Tailwind emerald-400: questions & answers

What is the HEX code of Tailwind emerald-400?

Tailwind emerald-400 is #34D399, which is rgb(52, 211, 153) or hsl(158, 64%, 52%).

How do I use emerald-400 as a background in Tailwind?

Add the class bg-emerald-400 to the element. Use text-emerald-400 for text and border-emerald-400 for borders.

What text color works on bg-emerald-400?

emerald-900 (#064E3B) is the closest shade of the same color with readable contrast (5.06:1). Plain black text gives 10.92:1.