HSL(112, 40%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,40%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 40%, 34%) | color: hsl(112, 40%, 34%) | |
| HEX | #3D7934 | color: #3D7934 | |
| RGB | rgb(61, 121, 52) | color: rgb(61, 121, 52) | |
| CMYK | cmyk(50%, 0%, 57%, 53%) | — | |
| HSV | hsv(112, 57%, 47%) | — | |
| HWB | hwb(112 20% 53%) | color: hwb(112 20% 53%) | |
| OKLCH | oklch(0.5188 0.1196 141.14) | color: oklch(0.5188 0.1196 141.14) | |
| Lab | lab(45.52 -34.09 31.54) | color: lab(45.52 -34.09 31.54) | |
| LCH | lch(45.52 46.44 137.23) | color: lch(45.52 46.44 137.23) |
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)
#575845 — rgb(87, 88, 69)
Deuteranopia (Green-blind)
#544F49 — rgb(84, 79, 73)
Tritanopia (Blue-blind)
#405255 — rgb(64, 82, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 40%, 34%);
text
color: hsl(112, 40%, 34%);
border
border: 2px solid hsl(112, 40%, 34%);
gradient light
background: linear-gradient(to right, hsl(112, 40%, 54%), hsl(112, 40%, 34%));
gradient dark
background: linear-gradient(to right, hsl(112, 40%, 34%), hsl(112, 40%, 14%))
hex
background-color: #3D7934;
tailwind
bg-[hsl(112,40%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 40%, 34%, 0.4);
css variable
--color-primary: hsl(112, 40%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 40%, 34%)?
HEX: #3D7934 | RGB: rgb(61, 121, 52) | CMYK: 50%, 0%, 57%, 53% | HSV: 112°, 57%, 47%. Copy any format from the conversion table above.
What colors go well with #3D7934?
The complementary color is HSL(292, 40%, 34%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 40%, 34%) in CSS?
As HSL: color: hsl(112, 40%, 34%); — As HEX: color: #3D7934; — As RGB: color: rgb(61, 121, 52); — Tailwind CSS: bg-[hsl(112,40%,34%)] — CSS variable: --color-primary: hsl(112, 40%, 34%);