Tailwind Teal 400

teal-400 · #2DD4BF · rgb(45, 212, 191)

teal-400 is a medium teal from the Tailwind CSS default palette, hex code #2DD4BF.

HEX#2DD4BF
RGBrgb(45, 212, 191)
HSLhsl(172, 66%, 50%)
CMYKcmyk(79%, 0%, 10%, 17%)
CSS variable (v4)var(--color-teal-400)
Color nameMedium Turquoise (closest)

Classes

bg-teal-400
text-teal-400
border-teal-400
ring-teal-400
from-teal-400 via-teal-400 to-teal-400
bg-teal-400/50   /* 50% opacity */
White text · 1.86:1 · fails
Black text · 11.28:1 · AAA
text-teal-900 · 5.09:1 · AA

Check contrast with any color →

Tailwind teal-400: questions & answers

What is the HEX code of Tailwind teal-400?

Tailwind teal-400 is #2DD4BF, which is rgb(45, 212, 191) or hsl(172, 66%, 50%).

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

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

What text color works on bg-teal-400?

teal-900 (#134E4A) is the closest shade of the same color with readable contrast (5.09:1). Plain black text gives 11.28:1.