HSL(116, 40%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(116,40%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(116, 40%, 31%) | color: hsl(116, 40%, 31%) | |
| HEX | #346F2F | color: #346F2F | |
| RGB | rgb(52, 111, 47) | color: rgb(52, 111, 47) | |
| CMYK | cmyk(53%, 0%, 58%, 56%) | — | |
| HSV | hsv(115, 58%, 44%) | — | |
| HWB | hwb(115 18% 56%) | color: hwb(115 18% 56%) | |
| OKLCH | oklch(0.4862 0.1145 142.15) | color: oklch(0.4862 0.1145 142.15) | |
| Lab | lab(41.69 -33.15 29.5) | color: lab(41.69 -33.15 29.5) | |
| LCH | lch(41.69 44.38 138.33) | color: lch(41.69 44.38 138.33) |
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)
#4E4E3E — rgb(78, 78, 62)
Deuteranopia (Green-blind)
#4A4642 — rgb(74, 70, 66)
Tritanopia (Blue-blind)
#374B4D — rgb(55, 75, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(116, 40%, 31%);
text
color: hsl(116, 40%, 31%);
border
border: 2px solid hsl(116, 40%, 31%);
gradient light
background: linear-gradient(to right, hsl(116, 40%, 51%), hsl(116, 40%, 31%));
gradient dark
background: linear-gradient(to right, hsl(116, 40%, 31%), hsl(116, 40%, 11%))
hex
background-color: #346F2F;
tailwind
bg-[hsl(116,40%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(116, 40%, 31%, 0.4);
css variable
--color-primary: hsl(116, 40%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(116, 40%, 31%)?
HEX: #346F2F | RGB: rgb(52, 111, 47) | CMYK: 53%, 0%, 58%, 56% | HSV: 115°, 58%, 44%. Copy any format from the conversion table above.
What colors go well with #346F2F?
The complementary color is HSL(296, 40%, 31%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(116, 40%, 31%) in CSS?
As HSL: color: hsl(116, 40%, 31%); — As HEX: color: #346F2F; — As RGB: color: rgb(52, 111, 47); — Tailwind CSS: bg-[hsl(116,40%,31%)] — CSS variable: --color-primary: hsl(116, 40%, 31%);