neutral-100
#f5f5f5Tailwind CSS v4.3.3 neutral-100 is oklch(97% 0 none) in OKLCH, the format Tailwind uses, and #f5f5f5 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-neutral-100/50.
Text on neutral-100
- Aawhite1.09:1Hard to read
- Aablack19.25:1Readable · AA
- Aaneutral-95018.15:1Readable · AA
Most readable text from the neutral scale: neutral-950
Tailwind neutral scale
Step 100 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind neutral-100?
neutral-100 is #f5f5f5 in HEX, rgb(245 245 245) in RGB and oklch(97% 0 none) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind neutral-100 accessible for text?
White text on neutral-100 has a contrast ratio of 1.09:1 and black text 19.25:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use neutral-100 in Tailwind CSS?
Add bg-neutral-100, text-neutral-100 or border-neutral-100 to an element. In your own CSS use var(--color-neutral-100), the CSS variable Tailwind v4 creates for every color.