HSL(86, 40%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,40%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 40%, 24%) | color: hsl(86, 40%, 24%) | |
| HEX | #405625 | color: #405625 | |
| RGB | rgb(64, 86, 37) | color: rgb(64, 86, 37) | |
| CMYK | cmyk(26%, 0%, 57%, 66%) | — | |
| HSV | hsv(87, 57%, 34%) | — | |
| HWB | hwb(87 15% 66%) | color: hwb(87 15% 66%) | |
| OKLCH | oklch(0.4226 0.0783 129.28) | color: oklch(0.4226 0.0783 129.28) | |
| Lab | lab(33.73 -17.77 25.56) | color: lab(33.73 -17.77 25.56) | |
| LCH | lch(33.73 31.13 124.81) | color: lch(33.73 31.13 124.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)
#4A4A31 — rgb(74, 74, 49)
Deuteranopia (Green-blind)
#484734 — rgb(72, 71, 52)
Tritanopia (Blue-blind)
#413A3C — rgb(65, 58, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 40%, 24%);
text
color: hsl(86, 40%, 24%);
border
border: 2px solid hsl(86, 40%, 24%);
gradient light
background: linear-gradient(to right, hsl(86, 40%, 44%), hsl(86, 40%, 24%));
gradient dark
background: linear-gradient(to right, hsl(86, 40%, 24%), hsl(86, 40%, 4%))
hex
background-color: #405625;
tailwind
bg-[hsl(86,40%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 40%, 24%, 0.4);
css variable
--color-primary: hsl(86, 40%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 40%, 24%)?
HEX: #405625 | RGB: rgb(64, 86, 37) | CMYK: 26%, 0%, 57%, 66% | HSV: 87°, 57%, 34%. Copy any format from the conversion table above.
What colors go well with #405625?
The complementary color is HSL(266, 40%, 24%). For a triadic harmony, use hues 86°, 206°, and 326°. For analogous combinations, try hues 56° and 116°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(86, 40%, 24%) in CSS?
As HSL: color: hsl(86, 40%, 24%); — As HEX: color: #405625; — As RGB: color: rgb(64, 86, 37); — Tailwind CSS: bg-[hsl(86,40%,24%)] — CSS variable: --color-primary: hsl(86, 40%, 24%);