taupe-900
#1d1816Tailwind CSS v4.3.3 taupe-900 is oklch(21.4% 0.009 43.1) in OKLCH, the format Tailwind uses, and #1d1816 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-taupe-900/50.
Text on taupe-900
- Aawhite17.59:1Readable · AA
- Aablack1.19:1Hard to read
- Aataupe-5016.89:1Readable · AA
Most readable text from the taupe scale: taupe-50
Tailwind taupe scale
Step 900 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind taupe-900?
taupe-900 is #1d1816 in HEX, rgb(29 24 22) in RGB and oklch(21.4% 0.009 43.1) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind taupe-900 accessible for text?
White text on taupe-900 has a contrast ratio of 17.59:1 and black text 1.19:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use taupe-900 in Tailwind CSS?
Add bg-taupe-900, text-taupe-900 or border-taupe-900 to an element. In your own CSS use var(--color-taupe-900), the CSS variable Tailwind v4 creates for every color.