orange-300
#ffb86aTailwind CSS v4.3.3 orange-300 is oklch(83.7% 0.128 66.29) in OKLCH, the format Tailwind uses, and #ffb86a in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-orange-300/50.
Text on orange-300
- Aawhite1.7:1Hard to read
- Aablack12.33:1Readable · AA
- Aaorange-9509.2:1Readable · AA
Most readable text from the orange scale: orange-950
Tailwind orange scale
Step 300 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind orange-300?
orange-300 is #ffb86a in HEX, rgb(255 184 106) in RGB and oklch(83.7% 0.128 66.29) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind orange-300 accessible for text?
White text on orange-300 has a contrast ratio of 1.7:1 and black text 12.33: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 orange-300 in Tailwind CSS?
Add bg-orange-300, text-orange-300 or border-orange-300 to an element. In your own CSS use var(--color-orange-300), the CSS variable Tailwind v4 creates for every color.