HSL(35, 48%, 17%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(35,48%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(35, 48%, 17%) | color: hsl(35, 48%, 17%) | |
| HEX | #402F17 | color: #402F17 | |
| RGB | rgb(64, 47, 23) | color: rgb(64, 47, 23) | |
| CMYK | cmyk(0%, 27%, 64%, 75%) | — | |
| HSV | hsv(35, 64%, 25%) | — | |
| HWB | hwb(35 9% 75%) | color: hwb(35 9% 75%) | |
| OKLCH | oklch(0.3186 0.0448 74.5) | color: oklch(0.3186 0.0448 74.5) | |
| Lab | lab(20.77 4.39 18.25) | color: lab(20.77 4.39 18.25) | |
| LCH | lch(20.77 18.77 76.47) | color: lch(20.77 18.77 76.47) |
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)
#39381D — rgb(57, 56, 29)
Deuteranopia (Green-blind)
#3A3B1E — rgb(58, 59, 30)
Tritanopia (Blue-blind)
#3F2122 — rgb(63, 33, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(35, 48%, 17%);
text
color: hsl(35, 48%, 17%);
border
border: 2px solid hsl(35, 48%, 17%);
gradient light
background: linear-gradient(to right, hsl(35, 48%, 37%), hsl(35, 48%, 17%));
gradient dark
background: linear-gradient(to right, hsl(35, 48%, 17%), hsl(35, 48%, 0%))
hex
background-color: #402F17;
tailwind
bg-[hsl(35,48%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(35, 48%, 17%, 0.4);
css variable
--color-primary: hsl(35, 48%, 17%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(35, 48%, 17%)?
HEX: #402F17 | RGB: rgb(64, 47, 23) | CMYK: 0%, 27%, 64%, 75% | HSV: 35°, 64%, 25%. Copy any format from the conversion table above.
What colors go well with #402F17?
The complementary color is HSL(215, 48%, 17%). For a triadic harmony, use hues 35°, 155°, and 275°. For analogous combinations, try hues 5° and 65°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(35, 48%, 17%) in CSS?
As HSL: color: hsl(35, 48%, 17%); — As HEX: color: #402F17; — As RGB: color: rgb(64, 47, 23); — Tailwind CSS: bg-[hsl(35,48%,17%)] — CSS variable: --color-primary: hsl(35, 48%, 17%);