Tailwind yellow-500: questions & answers
What is the HEX code of Tailwind yellow-500?
Tailwind yellow-500 is #EAB308, which is rgb(234, 179, 8) or hsl(45, 93%, 47%).
How do I use yellow-500 as a background in Tailwind?
Add the class bg-yellow-500 to the element. Use text-yellow-500 for text and border-yellow-500 for borders.
What text color works on bg-yellow-500?
yellow-900 (#713F12) is the closest shade of the same color with readable contrast (4.52:1). Plain black text gives 10.95:1.