HSL(42, 29%, 17%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,29%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 29%, 17%) | color: hsl(42, 29%, 17%) | |
| HEX | #38301F | color: #38301F | |
| RGB | rgb(56, 48, 31) | color: rgb(56, 48, 31) | |
| CMYK | cmyk(0%, 14%, 45%, 78%) | — | |
| HSV | hsv(41, 45%, 22%) | — | |
| HWB | hwb(41 12% 78%) | color: hwb(41 12% 78%) | |
| OKLCH | oklch(0.3128 0.0304 85.49) | color: oklch(0.3128 0.0304 85.49) | |
| Lab | lab(20.26 0.59 12.23) | color: lab(20.26 0.59 12.23) | |
| LCH | lch(20.26 12.24 87.24) | color: lch(20.26 12.24 87.24) |
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)
#353423 — rgb(53, 52, 35)
Deuteranopia (Green-blind)
#353624 — rgb(53, 54, 36)
Tritanopia (Blue-blind)
#382627 — rgb(56, 38, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 29%, 17%);
text
color: hsl(42, 29%, 17%);
border
border: 2px solid hsl(42, 29%, 17%);
gradient light
background: linear-gradient(to right, hsl(42, 29%, 37%), hsl(42, 29%, 17%));
gradient dark
background: linear-gradient(to right, hsl(42, 29%, 17%), hsl(42, 29%, 0%))
hex
background-color: #38301F;
tailwind
bg-[hsl(42,29%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 29%, 17%, 0.4);
css variable
--color-primary: hsl(42, 29%, 17%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 29%, 17%)?
HEX: #38301F | RGB: rgb(56, 48, 31) | CMYK: 0%, 14%, 45%, 78% | HSV: 41°, 45%, 22%. Copy any format from the conversion table above.
What colors go well with #38301F?
The complementary color is HSL(222, 29%, 17%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 29%, 17%) in CSS?
As HSL: color: hsl(42, 29%, 17%); — As HEX: color: #38301F; — As RGB: color: rgb(56, 48, 31); — Tailwind CSS: bg-[hsl(42,29%,17%)] — CSS variable: --color-primary: hsl(42, 29%, 17%);