Tailwind amber-400: questions & answers
What is the HEX code of Tailwind amber-400?
Tailwind amber-400 is #FBBF24, which is rgb(251, 191, 36) or hsl(43, 96%, 56%).
How do I use amber-400 as a background in Tailwind?
Add the class bg-amber-400 to the element. Use text-amber-400 for text and border-amber-400 for borders.
What text color works on bg-amber-400?
amber-900 (#78350F) is the closest shade of the same color with readable contrast (5.43:1). Plain black text gives 12.58:1.