Tailwind green-800: questions & answers
What is the HEX code of Tailwind green-800?
Tailwind green-800 is #166534, which is rgb(22, 101, 52) or hsl(143, 64%, 24%).
How do I use green-800 as a background in Tailwind?
Add the class bg-green-800 to the element. Use text-green-800 for text and border-green-800 for borders.
What text color works on bg-green-800?
green-300 (#86EFAC) is the closest shade of the same color with readable contrast (5.08:1). Plain white text gives 7.13:1.