HSL(66, 40%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(66,40%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(66, 40%, 17%) | color: hsl(66, 40%, 17%) | |
| HEX | #393D1A | color: #393D1A | |
| RGB | rgb(57, 61, 26) | color: rgb(57, 61, 26) | |
| CMYK | cmyk(7%, 0%, 57%, 76%) | — | |
| HSV | hsv(67, 57%, 24%) | — | |
| HWB | hwb(67 10% 76%) | color: hwb(67 10% 76%) | |
| OKLCH | oklch(0.3471 0.0542 114.65) | color: oklch(0.3471 0.0542 114.65) | |
| Lab | lab(24.58 -7.91 20.81) | color: lab(24.58 -7.91 20.81) | |
| LCH | lch(24.58 22.26 110.81) | color: lch(24.58 22.26 110.81) |
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)
#3B3B22 — rgb(59, 59, 34)
Deuteranopia (Green-blind)
#3B3A25 — rgb(59, 58, 37)
Tritanopia (Blue-blind)
#39292B — rgb(57, 41, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(66, 40%, 17%);
text
color: hsl(66, 40%, 17%);
border
border: 2px solid hsl(66, 40%, 17%);
gradient light
background: linear-gradient(to right, hsl(66, 40%, 37%), hsl(66, 40%, 17%));
gradient dark
background: linear-gradient(to right, hsl(66, 40%, 17%), hsl(66, 40%, 0%))
hex
background-color: #393D1A;
tailwind
bg-[hsl(66,40%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(66, 40%, 17%, 0.4);
css variable
--color-primary: hsl(66, 40%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(66, 40%, 17%)?
HEX: #393D1A | RGB: rgb(57, 61, 26) | CMYK: 7%, 0%, 57%, 76% | HSV: 67°, 57%, 24%. Copy any format from the conversion table above.
What colors go well with #393D1A?
The complementary color is HSL(246, 40%, 17%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(66, 40%, 17%) in CSS?
As HSL: color: hsl(66, 40%, 17%); — As HEX: color: #393D1A; — As RGB: color: rgb(57, 61, 26); — Tailwind CSS: bg-[hsl(66,40%,17%)] — CSS variable: --color-primary: hsl(66, 40%, 17%);