HSL(20, 50%, 20%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(20,50%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(20, 50%, 20%) | color: hsl(20, 50%, 20%) | |
| HEX | #4D2B1A | color: #4D2B1A | |
| RGB | rgb(77, 43, 26) | color: rgb(77, 43, 26) | |
| CMYK | cmyk(0%, 44%, 66%, 70%) | — | |
| HSV | hsv(20, 66%, 30%) | — | |
| HWB | hwb(20 10% 70%) | color: hwb(20 10% 70%) | |
| OKLCH | oklch(0.3285 0.0577 46.63) | color: oklch(0.3285 0.0577 46.63) | |
| Lab | lab(21.51 13.84 17.67) | color: lab(21.51 13.84 17.67) | |
| LCH | lch(21.51 22.44 51.93) | color: lch(21.51 22.44 51.93) |
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)
#3E3E1E — rgb(62, 62, 30)
Deuteranopia (Green-blind)
#40431F — rgb(64, 67, 31)
Tritanopia (Blue-blind)
#4B2122 — rgb(75, 33, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(20, 50%, 20%);
text
color: hsl(20, 50%, 20%);
border
border: 2px solid hsl(20, 50%, 20%);
gradient light
background: linear-gradient(to right, hsl(20, 50%, 40%), hsl(20, 50%, 20%));
gradient dark
background: linear-gradient(to right, hsl(20, 50%, 20%), hsl(20, 50%, 0%))
hex
background-color: #4D2B1A;
tailwind
bg-[hsl(20,50%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(20, 50%, 20%, 0.4);
css variable
--color-primary: hsl(20, 50%, 20%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(20, 50%, 20%)?
HEX: #4D2B1A | RGB: rgb(77, 43, 26) | CMYK: 0%, 44%, 66%, 70% | HSV: 20°, 66%, 30%. Copy any format from the conversion table above.
What colors go well with #4D2B1A?
The complementary color is HSL(200, 50%, 20%). 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%, 20%) in CSS?
As HSL: color: hsl(20, 50%, 20%); — As HEX: color: #4D2B1A; — As RGB: color: rgb(77, 43, 26); — Tailwind CSS: bg-[hsl(20,50%,20%)] — CSS variable: --color-primary: hsl(20, 50%, 20%);