Tailwind amber-500: questions & answers
What is the HEX code of Tailwind amber-500?
Tailwind amber-500 is #F59E0B, which is rgb(245, 158, 11) or hsl(38, 92%, 50%).
How do I use amber-500 as a background in Tailwind?
Add the class bg-amber-500 to the element. Use text-amber-500 for text and border-amber-500 for borders.
What text color works on bg-amber-500?
amber-950 (#451A03) is the closest shade of the same color with readable contrast (6.97:1). Plain black text gives 9.78:1.