HSL(18, 47%, 20%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(18,47%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 47%, 20%) | color: hsl(18, 47%, 20%) | |
| HEX | #4B291B | color: #4B291B | |
| RGB | rgb(75, 41, 27) | color: rgb(75, 41, 27) | |
| CMYK | cmyk(0%, 45%, 64%, 71%) | — | |
| HSV | hsv(18, 64%, 29%) | — | |
| HWB | hwb(18 10% 71%) | color: hwb(18 10% 71%) | |
| OKLCH | oklch(0.3215 0.0562 42.82) | color: oklch(0.3215 0.0562 42.82) | |
| Lab | lab(20.68 14.25 15.92) | color: lab(20.68 14.25 15.92) | |
| LCH | lch(20.68 21.37 48.17) | color: lch(20.68 21.37 48.17) |
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)
#3C3C1E — rgb(60, 60, 30)
Deuteranopia (Green-blind)
#3E411F — rgb(62, 65, 31)
Tritanopia (Blue-blind)
#492122 — rgb(73, 33, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 47%, 20%);
text
color: hsl(18, 47%, 20%);
border
border: 2px solid hsl(18, 47%, 20%);
gradient light
background: linear-gradient(to right, hsl(18, 47%, 40%), hsl(18, 47%, 20%));
gradient dark
background: linear-gradient(to right, hsl(18, 47%, 20%), hsl(18, 47%, 0%))
hex
background-color: #4B291B;
tailwind
bg-[hsl(18,47%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 47%, 20%, 0.4);
css variable
--color-primary: hsl(18, 47%, 20%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(18, 47%, 20%)?
HEX: #4B291B | RGB: rgb(75, 41, 27) | CMYK: 0%, 45%, 64%, 71% | HSV: 18°, 64%, 29%. Copy any format from the conversion table above.
What colors go well with #4B291B?
The complementary color is HSL(198, 47%, 20%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 47%, 20%) in CSS?
As HSL: color: hsl(18, 47%, 20%); — As HEX: color: #4B291B; — As RGB: color: rgb(75, 41, 27); — Tailwind CSS: bg-[hsl(18,47%,20%)] — CSS variable: --color-primary: hsl(18, 47%, 20%);