HSL(106, 40%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(106,40%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 40%, 31%) | color: hsl(106, 40%, 31%) | |
| HEX | #3E6F2F | color: #3E6F2F | |
| RGB | rgb(62, 111, 47) | color: rgb(62, 111, 47) | |
| CMYK | cmyk(44%, 0%, 58%, 56%) | — | |
| HSV | hsv(106, 58%, 44%) | — | |
| HWB | hwb(106 18% 56%) | color: hwb(106 18% 56%) | |
| OKLCH | oklch(0.4912 0.1088 138.87) | color: oklch(0.4912 0.1088 138.87) | |
| Lab | lab(42.15 -29.86 30.16) | color: lab(42.15 -29.86 30.16) | |
| LCH | lch(42.15 42.44 134.71) | color: lch(42.15 42.44 134.71) |
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)
#53543E — rgb(83, 84, 62)
Deuteranopia (Green-blind)
#504D42 — rgb(80, 77, 66)
Tritanopia (Blue-blind)
#404B4D — rgb(64, 75, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 40%, 31%);
text
color: hsl(106, 40%, 31%);
border
border: 2px solid hsl(106, 40%, 31%);
gradient light
background: linear-gradient(to right, hsl(106, 40%, 51%), hsl(106, 40%, 31%));
gradient dark
background: linear-gradient(to right, hsl(106, 40%, 31%), hsl(106, 40%, 11%))
hex
background-color: #3E6F2F;
tailwind
bg-[hsl(106,40%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 40%, 31%, 0.4);
css variable
--color-primary: hsl(106, 40%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(106, 40%, 31%)?
HEX: #3E6F2F | RGB: rgb(62, 111, 47) | CMYK: 44%, 0%, 58%, 56% | HSV: 106°, 58%, 44%. Copy any format from the conversion table above.
What colors go well with #3E6F2F?
The complementary color is HSL(286, 40%, 31%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 40%, 31%) in CSS?
As HSL: color: hsl(106, 40%, 31%); — As HEX: color: #3E6F2F; — As RGB: color: rgb(62, 111, 47); — Tailwind CSS: bg-[hsl(106,40%,31%)] — CSS variable: --color-primary: hsl(106, 40%, 31%);