Tailwind green-400: questions & answers
What is the HEX code of Tailwind green-400?
Tailwind green-400 is #4ADE80, which is rgb(74, 222, 128) or hsl(142, 69%, 58%).
How do I use green-400 as a background in Tailwind?
Add the class bg-green-400 to the element. Use text-green-400 for text and border-green-400 for borders.
What text color works on bg-green-400?
green-900 (#14532D) is the closest shade of the same color with readable contrast (5.23:1). Plain black text gives 12.05:1.