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.