Tailwind neutral-50: questions & answers
What is the HEX code of Tailwind neutral-50?
Tailwind neutral-50 is #FAFAFA, which is rgb(250, 250, 250) or hsl(0, 0%, 98%).
How do I use neutral-50 as a background in Tailwind?
Add the class bg-neutral-50 to the element. Use text-neutral-50 for text and border-neutral-50 for borders.
What text color works on bg-neutral-50?
neutral-500 (#737373) is the closest shade of the same color with readable contrast (4.54:1). Plain black text gives 20.12:1.