HSL(22, 57%, 31%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,57%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 57%, 31%) | color: hsl(22, 57%, 31%) | |
| HEX | #7C4322 | color: #7C4322 | |
| RGB | rgb(124, 67, 34) | color: rgb(124, 67, 34) | |
| CMYK | cmyk(0%, 46%, 73%, 51%) | — | |
| HSV | hsv(22, 73%, 49%) | — | |
| HWB | hwb(22 13% 51%) | color: hwb(22 13% 51%) | |
| OKLCH | oklch(0.4463 0.0912 48.86) | color: oklch(0.4463 0.0912 48.86) | |
| Lab | lab(34.83 21.62 30.21) | color: lab(34.83 21.62 30.21) | |
| LCH | lch(34.83 37.15 54.41) | color: lch(34.83 37.15 54.41) |
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)
#63632A — rgb(99, 99, 42)
Deuteranopia (Green-blind)
#676B2C — rgb(103, 107, 44)
Tritanopia (Blue-blind)
#793032 — rgb(121, 48, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 57%, 31%);
text
color: hsl(22, 57%, 31%);
border
border: 2px solid hsl(22, 57%, 31%);
gradient light
background: linear-gradient(to right, hsl(22, 57%, 51%), hsl(22, 57%, 31%));
gradient dark
background: linear-gradient(to right, hsl(22, 57%, 31%), hsl(22, 57%, 11%))
hex
background-color: #7C4322;
tailwind
bg-[hsl(22,57%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 57%, 31%, 0.4);
css variable
--color-primary: hsl(22, 57%, 31%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 57%, 31%)?
HEX: #7C4322 | RGB: rgb(124, 67, 34) | CMYK: 0%, 46%, 73%, 51% | HSV: 22°, 73%, 49%. Copy any format from the conversion table above.
What colors go well with #7C4322?
The complementary color is HSL(202, 57%, 31%). 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, 57%, 31%) in CSS?
As HSL: color: hsl(22, 57%, 31%); — As HEX: color: #7C4322; — As RGB: color: rgb(124, 67, 34); — Tailwind CSS: bg-[hsl(22,57%,31%)] — CSS variable: --color-primary: hsl(22, 57%, 31%);