HSL(17, 45%, 21%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(17,45%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(17, 45%, 21%) | color: hsl(17, 45%, 21%) | |
| HEX | #4E2B1D | color: #4E2B1D | |
| RGB | rgb(78, 43, 29) | color: rgb(78, 43, 29) | |
| CMYK | cmyk(0%, 45%, 63%, 69%) | — | |
| HSV | hsv(17, 63%, 31%) | — | |
| HWB | hwb(17 11% 69%) | color: hwb(17 11% 69%) | |
| OKLCH | oklch(0.3306 0.0572 42.3) | color: oklch(0.3306 0.0572 42.3) | |
| Lab | lab(21.71 14.6 16.01) | color: lab(21.71 14.6 16.01) | |
| LCH | lch(21.71 21.67 47.64) | color: lch(21.71 21.67 47.64) |
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)
#3F3F20 — rgb(63, 63, 32)
Deuteranopia (Green-blind)
#414421 — rgb(65, 68, 33)
Tritanopia (Blue-blind)
#4C2324 — rgb(76, 35, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(17, 45%, 21%);
text
color: hsl(17, 45%, 21%);
border
border: 2px solid hsl(17, 45%, 21%);
gradient light
background: linear-gradient(to right, hsl(17, 45%, 41%), hsl(17, 45%, 21%));
gradient dark
background: linear-gradient(to right, hsl(17, 45%, 21%), hsl(17, 45%, 1%))
hex
background-color: #4E2B1D;
tailwind
bg-[hsl(17,45%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(17, 45%, 21%, 0.4);
css variable
--color-primary: hsl(17, 45%, 21%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(17, 45%, 21%)?
HEX: #4E2B1D | RGB: rgb(78, 43, 29) | CMYK: 0%, 45%, 63%, 69% | HSV: 17°, 63%, 31%. Copy any format from the conversion table above.
What colors go well with #4E2B1D?
The complementary color is HSL(197, 45%, 21%). For a triadic harmony, use hues 17°, 137°, and 257°. For analogous combinations, try hues 347° and 47°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(17, 45%, 21%) in CSS?
As HSL: color: hsl(17, 45%, 21%); — As HEX: color: #4E2B1D; — As RGB: color: rgb(78, 43, 29); — Tailwind CSS: bg-[hsl(17,45%,21%)] — CSS variable: --color-primary: hsl(17, 45%, 21%);