HSL(117, 34%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,34%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 34%, 31%) | color: hsl(117, 34%, 31%) | |
| HEX | #376A34 | color: #376A34 | |
| RGB | rgb(55, 106, 52) | color: rgb(55, 106, 52) | |
| CMYK | cmyk(48%, 0%, 51%, 58%) | — | |
| HSV | hsv(117, 51%, 42%) | — | |
| HWB | hwb(117 21% 58%) | color: hwb(117 21% 58%) | |
| OKLCH | oklch(0.4745 0.1 142.71) | color: oklch(0.4745 0.1 142.71) | |
| Lab | lab(40.19 -29.2 25) | color: lab(40.19 -29.2 25) | |
| LCH | lch(40.19 38.44 139.43) | color: lch(40.19 38.44 139.43) |
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)
#4D4E41 — rgb(77, 78, 65)
Deuteranopia (Green-blind)
#4A4644 — rgb(74, 70, 68)
Tritanopia (Blue-blind)
#3A4B4E — rgb(58, 75, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 34%, 31%);
text
color: hsl(117, 34%, 31%);
border
border: 2px solid hsl(117, 34%, 31%);
gradient light
background: linear-gradient(to right, hsl(117, 34%, 51%), hsl(117, 34%, 31%));
gradient dark
background: linear-gradient(to right, hsl(117, 34%, 31%), hsl(117, 34%, 11%))
hex
background-color: #376A34;
tailwind
bg-[hsl(117,34%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 34%, 31%, 0.4);
css variable
--color-primary: hsl(117, 34%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 34%, 31%)?
HEX: #376A34 | RGB: rgb(55, 106, 52) | CMYK: 48%, 0%, 51%, 58% | HSV: 117°, 51%, 42%. Copy any format from the conversion table above.
What colors go well with #376A34?
The complementary color is HSL(297, 34%, 31%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 34%, 31%) in CSS?
As HSL: color: hsl(117, 34%, 31%); — As HEX: color: #376A34; — As RGB: color: rgb(55, 106, 52); — Tailwind CSS: bg-[hsl(117,34%,31%)] — CSS variable: --color-primary: hsl(117, 34%, 31%);