HSL(122, 43%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,43%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 43%, 42%) | color: hsl(122, 43%, 42%) | |
| HEX | #3D9940 | color: #3D9940 | |
| RGB | rgb(61, 153, 64) | color: rgb(61, 153, 64) | |
| CMYK | cmyk(60%, 0%, 58%, 40%) | — | |
| HSV | hsv(122, 60%, 60%) | — | |
| HWB | hwb(122 24% 40%) | color: hwb(122 24% 40%) | |
| OKLCH | oklch(0.6073 0.1537 143.92) | color: oklch(0.6073 0.1537 143.92) | |
| Lab | lab(56.23 -45.78 38.2) | color: lab(56.23 -45.78 38.2) | |
| LCH | lch(56.23 59.62 140.16) | color: lch(56.23 59.62 140.16) |
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)
#656656 — rgb(101, 102, 86)
Deuteranopia (Green-blind)
#60595B — rgb(96, 89, 91)
Tritanopia (Blue-blind)
#42676A — rgb(66, 103, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 43%, 42%);
text
color: hsl(122, 43%, 42%);
border
border: 2px solid hsl(122, 43%, 42%);
gradient light
background: linear-gradient(to right, hsl(122, 43%, 62%), hsl(122, 43%, 42%));
gradient dark
background: linear-gradient(to right, hsl(122, 43%, 42%), hsl(122, 43%, 22%))
hex
background-color: #3D9940;
tailwind
bg-[hsl(122,43%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 43%, 42%, 0.4);
css variable
--color-primary: hsl(122, 43%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 43%, 42%)?
HEX: #3D9940 | RGB: rgb(61, 153, 64) | CMYK: 60%, 0%, 58%, 40% | HSV: 122°, 60%, 60%. Copy any format from the conversion table above.
What colors go well with #3D9940?
The complementary color is HSL(302, 43%, 42%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 43%, 42%) in CSS?
As HSL: color: hsl(122, 43%, 42%); — As HEX: color: #3D9940; — As RGB: color: rgb(61, 153, 64); — Tailwind CSS: bg-[hsl(122,43%,42%)] — CSS variable: --color-primary: hsl(122, 43%, 42%);