Tailwind emerald-500: questions & answers
What is the HEX code of Tailwind emerald-500?
Tailwind emerald-500 is #10B981, which is rgb(16, 185, 129) or hsl(160, 84%, 39%).
How do I use emerald-500 as a background in Tailwind?
Add the class bg-emerald-500 to the element. Use text-emerald-500 for text and border-emerald-500 for borders.
What text color works on bg-emerald-500?
emerald-950 (#022C22) is the closest shade of the same color with readable contrast (5.97:1). Plain black text gives 8.28:1.