HSL(22, 77%, 18%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,77%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 77%, 18%) | color: hsl(22, 77%, 18%) | |
| HEX | #51240B | color: #51240B | |
| RGB | rgb(81, 36, 11) | color: rgb(81, 36, 11) | |
| CMYK | cmyk(0%, 56%, 86%, 68%) | — | |
| HSV | hsv(21, 86%, 32%) | — | |
| HWB | hwb(21 4% 68%) | color: hwb(21 4% 68%) | |
| OKLCH | oklch(0.3191 0.0762 46.54) | color: oklch(0.3191 0.0762 46.54) | |
| Lab | lab(20.19 19.16 24.97) | color: lab(20.19 19.16 24.97) | |
| LCH | lch(20.19 31.47 52.5) | color: lch(20.19 31.47 52.5) |
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)
#3E3D11 — rgb(62, 61, 17)
Deuteranopia (Green-blind)
#404413 — rgb(64, 68, 19)
Tritanopia (Blue-blind)
#4F1617 — rgb(79, 22, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 77%, 18%);
text
color: hsl(22, 77%, 18%);
border
border: 2px solid hsl(22, 77%, 18%);
gradient light
background: linear-gradient(to right, hsl(22, 77%, 38%), hsl(22, 77%, 18%));
gradient dark
background: linear-gradient(to right, hsl(22, 77%, 18%), hsl(22, 77%, 0%))
hex
background-color: #51240B;
tailwind
bg-[hsl(22,77%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 77%, 18%, 0.4);
css variable
--color-primary: hsl(22, 77%, 18%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 77%, 18%)?
HEX: #51240B | RGB: rgb(81, 36, 11) | CMYK: 0%, 56%, 86%, 68% | HSV: 21°, 86%, 32%. Copy any format from the conversion table above.
What colors go well with #51240B?
The complementary color is HSL(202, 77%, 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, 77%, 18%) in CSS?
As HSL: color: hsl(22, 77%, 18%); — As HEX: color: #51240B; — As RGB: color: rgb(81, 36, 11); — Tailwind CSS: bg-[hsl(22,77%,18%)] — CSS variable: --color-primary: hsl(22, 77%, 18%);