HSL(127, 42%, 41%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,42%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 42%, 41%) | color: hsl(127, 42%, 41%) | |
| HEX | #3D9447 | color: #3D9447 | |
| RGB | rgb(61, 148, 71) | color: rgb(61, 148, 71) | |
| CMYK | cmyk(59%, 0%, 52%, 42%) | — | |
| HSV | hsv(127, 59%, 58%) | — | |
| HWB | hwb(127 24% 42%) | color: hwb(127 24% 42%) | |
| OKLCH | oklch(0.5949 0.1405 145.68) | color: oklch(0.5949 0.1405 145.68) | |
| Lab | lab(54.68 -42.83 32.83) | color: lab(54.68 -42.83 32.83) | |
| LCH | lch(54.68 53.96 142.53) | color: lch(54.68 53.96 142.53) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#63635A — rgb(99, 99, 90)
Deuteranopia (Green-blind)
#5E575E — rgb(94, 87, 94)
Tritanopia (Blue-blind)
#41686C — rgb(65, 104, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 42%, 41%);
text
color: hsl(127, 42%, 41%);
border
border: 2px solid hsl(127, 42%, 41%);
gradient light
background: linear-gradient(to right, hsl(127, 42%, 61%), hsl(127, 42%, 41%));
gradient dark
background: linear-gradient(to right, hsl(127, 42%, 41%), hsl(127, 42%, 21%))
hex
background-color: #3D9447;
tailwind
bg-[hsl(127,42%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 42%, 41%, 0.4);
css variable
--color-primary: hsl(127, 42%, 41%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 42%, 41%)?
HEX: #3D9447 | RGB: rgb(61, 148, 71) | CMYK: 59%, 0%, 52%, 42% | HSV: 127°, 59%, 58%. Copy any format from the conversion table above.
What colors go well with #3D9447?
The complementary color is HSL(307, 42%, 41%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 42%, 41%) in CSS?
As HSL: color: hsl(127, 42%, 41%); — As HEX: color: #3D9447; — As RGB: color: rgb(61, 148, 71); — Tailwind CSS: bg-[hsl(127,42%,41%)] — CSS variable: --color-primary: hsl(127, 42%, 41%);