Tailwind yellow-400: questions & answers
What is the HEX code of Tailwind yellow-400?
Tailwind yellow-400 is #FACC15, which is rgb(250, 204, 21) or hsl(48, 96%, 53%).
How do I use yellow-400 as a background in Tailwind?
Add the class bg-yellow-400 to the element. Use text-yellow-400 for text and border-yellow-400 for borders.
What text color works on bg-yellow-400?
yellow-900 (#713F12) is the closest shade of the same color with readable contrast (5.66:1). Plain black text gives 13.71:1.