HSL(22, 40%, 50%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,40%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 40%, 50%) | color: hsl(22, 40%, 50%) | |
| HEX | #B3724D | color: #B3724D | |
| RGB | rgb(179, 114, 77) | color: rgb(179, 114, 77) | |
| CMYK | cmyk(0%, 36%, 57%, 30%) | — | |
| HSV | hsv(22, 57%, 70%) | — | |
| HWB | hwb(22 30% 30%) | color: hwb(22 30% 30%) | |
| OKLCH | oklch(0.6132 0.0972 49.84) | color: oklch(0.6132 0.0972 49.84) | |
| Lab | lab(54.19 21.81 31) | color: lab(54.19 21.81 31) | |
| LCH | lch(54.19 37.9 54.87) | color: lch(54.19 37.9 54.87) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#979656 — rgb(151, 150, 86)
Deuteranopia (Green-blind)
#9BA058 — rgb(155, 160, 88)
Tritanopia (Blue-blind)
#B05D5F — rgb(176, 93, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 40%, 50%);
text
color: hsl(22, 40%, 50%);
border
border: 2px solid hsl(22, 40%, 50%);
gradient light
background: linear-gradient(to right, hsl(22, 40%, 70%), hsl(22, 40%, 50%));
gradient dark
background: linear-gradient(to right, hsl(22, 40%, 50%), hsl(22, 40%, 30%))
hex
background-color: #B3724D;
tailwind
bg-[hsl(22,40%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 40%, 50%, 0.4);
css variable
--color-primary: hsl(22, 40%, 50%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 40%, 50%)?
HEX: #B3724D | RGB: rgb(179, 114, 77) | CMYK: 0%, 36%, 57%, 30% | HSV: 22°, 57%, 70%. Copy any format from the conversion table above.
What colors go well with #B3724D?
The complementary color is HSL(202, 40%, 50%). 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, 40%, 50%) in CSS?
As HSL: color: hsl(22, 40%, 50%); — As HEX: color: #B3724D; — As RGB: color: rgb(179, 114, 77); — Tailwind CSS: bg-[hsl(22,40%,50%)] — CSS variable: --color-primary: hsl(22, 40%, 50%);