Tailwind yellow-300: questions & answers
What is the HEX code of Tailwind yellow-300?
Tailwind yellow-300 is #FDE047, which is rgb(253, 224, 71) or hsl(50, 98%, 64%).
How do I use yellow-300 as a background in Tailwind?
Add the class bg-yellow-300 to the element. Use text-yellow-300 for text and border-yellow-300 for borders.
What text color works on bg-yellow-300?
yellow-800 (#854D0E) is the closest shade of the same color with readable contrast (5.2:1). Plain black text gives 15.93:1.