HSL(22, 96%, 18%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,96%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 96%, 18%) | color: hsl(22, 96%, 18%) | |
| HEX | #5A2202 | color: #5A2202 | |
| RGB | rgb(90, 34, 2) | color: rgb(90, 34, 2) | |
| CMYK | cmyk(0%, 62%, 98%, 65%) | — | |
| HSV | hsv(22, 98%, 35%) | — | |
| HWB | hwb(22 1% 65%) | color: hwb(22 1% 65%) | |
| OKLCH | oklch(0.3305 0.0919 45.18) | color: oklch(0.3305 0.0919 45.18) | |
| Lab | lab(21.29 24.07 30.33) | color: lab(21.29 24.07 30.33) | |
| LCH | lch(21.29 38.72 51.56) | color: lch(21.29 38.72 51.56) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#42410A — rgb(66, 65, 10)
Deuteranopia (Green-blind)
#45490C — rgb(69, 73, 12)
Tritanopia (Blue-blind)
#571011 — rgb(87, 16, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 96%, 18%);
text
color: hsl(22, 96%, 18%);
border
border: 2px solid hsl(22, 96%, 18%);
gradient light
background: linear-gradient(to right, hsl(22, 96%, 38%), hsl(22, 96%, 18%));
gradient dark
background: linear-gradient(to right, hsl(22, 96%, 18%), hsl(22, 96%, 0%))
hex
background-color: #5A2202;
tailwind
bg-[hsl(22,96%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 96%, 18%, 0.4);
css variable
--color-primary: hsl(22, 96%, 18%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 96%, 18%)?
HEX: #5A2202 | RGB: rgb(90, 34, 2) | CMYK: 0%, 62%, 98%, 65% | HSV: 22°, 98%, 35%. Copy any format from the conversion table above.
What colors go well with #5A2202?
The complementary color is HSL(202, 96%, 18%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 96%, 18%) in CSS?
As HSL: color: hsl(22, 96%, 18%); — As HEX: color: #5A2202; — As RGB: color: rgb(90, 34, 2); — Tailwind CSS: bg-[hsl(22,96%,18%)] — CSS variable: --color-primary: hsl(22, 96%, 18%);