orange-900
#7e2a0cTailwind CSS v4.3.3 orange-900 is oklch(40.8% 0.123 38.172) in OKLCH, the format Tailwind uses, and #7e2a0c in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-orange-900/50.
Text on orange-900
- Aawhite9.42:1Readable · AA
- Aablack2.23:1Hard to read
- Aaorange-508.88:1Readable · AA
Most readable text from the orange scale: orange-50
Tailwind orange scale
Step 900 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind orange-900?
orange-900 is #7e2a0c in HEX, rgb(126 42 12) in RGB and oklch(40.8% 0.123 38.172) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind orange-900 accessible for text?
White text on orange-900 has a contrast ratio of 9.42:1 and black text 2.23: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 orange-900 in Tailwind CSS?
Add bg-orange-900, text-orange-900 or border-orange-900 to an element. In your own CSS use var(--color-orange-900), the CSS variable Tailwind v4 creates for every color.