HSL(20, 50%, 24%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(20,50%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(20, 50%, 24%) | color: hsl(20, 50%, 24%) | |
| HEX | #5C331F | color: #5C331F | |
| RGB | rgb(92, 51, 31) | color: rgb(92, 51, 31) | |
| CMYK | cmyk(0%, 45%, 66%, 64%) | — | |
| HSV | hsv(20, 66%, 36%) | — | |
| HWB | hwb(20 12% 64%) | color: hwb(20 12% 64%) | |
| OKLCH | oklch(0.3681 0.0672 45.99) | color: oklch(0.3681 0.0672 45.99) | |
| Lab | lab(25.99 16.38 20.49) | color: lab(25.99 16.38 20.49) | |
| LCH | lch(25.99 26.23 51.36) | color: lch(25.99 26.23 51.36) |
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)
#4A4A24 — rgb(74, 74, 36)
Deuteranopia (Green-blind)
#4D5025 — rgb(77, 80, 37)
Tritanopia (Blue-blind)
#5A2829 — rgb(90, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(20, 50%, 24%);
text
color: hsl(20, 50%, 24%);
border
border: 2px solid hsl(20, 50%, 24%);
gradient light
background: linear-gradient(to right, hsl(20, 50%, 44%), hsl(20, 50%, 24%));
gradient dark
background: linear-gradient(to right, hsl(20, 50%, 24%), hsl(20, 50%, 4%))
hex
background-color: #5C331F;
tailwind
bg-[hsl(20,50%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(20, 50%, 24%, 0.4);
css variable
--color-primary: hsl(20, 50%, 24%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(20, 50%, 24%)?
HEX: #5C331F | RGB: rgb(92, 51, 31) | CMYK: 0%, 45%, 66%, 64% | HSV: 20°, 66%, 36%. Copy any format from the conversion table above.
What colors go well with #5C331F?
The complementary color is HSL(200, 50%, 24%). For a triadic harmony, use hues 20°, 140°, and 260°. For analogous combinations, try hues 350° and 50°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(20, 50%, 24%) in CSS?
As HSL: color: hsl(20, 50%, 24%); — As HEX: color: #5C331F; — As RGB: color: rgb(92, 51, 31); — Tailwind CSS: bg-[hsl(20,50%,24%)] — CSS variable: --color-primary: hsl(20, 50%, 24%);