HSL(122, 60%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,60%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 60%, 45%) | color: hsl(122, 60%, 45%) | |
| HEX | #2EB832 | color: #2EB832 | |
| RGB | rgb(46, 184, 50) | color: rgb(46, 184, 50) | |
| CMYK | cmyk(75%, 0%, 73%, 28%) | — | |
| HSV | hsv(122, 75%, 72%) | — | |
| HWB | hwb(122 18% 28%) | color: hwb(122 18% 28%) | |
| OKLCH | oklch(0.6853 0.2069 143.22) | color: oklch(0.6853 0.2069 143.22) | |
| Lab | lab(65.82 -61.13 54.61) | color: lab(65.82 -61.13 54.61) | |
| LCH | lch(65.82 81.97 138.22) | color: lch(65.82 81.97 138.22) |
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)
#6A6B52 — rgb(106, 107, 82)
Deuteranopia (Green-blind)
#62575A — rgb(98, 87, 90)
Tritanopia (Blue-blind)
#356C72 — rgb(53, 108, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 60%, 45%);
text
color: hsl(122, 60%, 45%);
border
border: 2px solid hsl(122, 60%, 45%);
gradient light
background: linear-gradient(to right, hsl(122, 60%, 65%), hsl(122, 60%, 45%));
gradient dark
background: linear-gradient(to right, hsl(122, 60%, 45%), hsl(122, 60%, 25%))
hex
background-color: #2EB832;
tailwind
bg-[hsl(122,60%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 60%, 45%, 0.4);
css variable
--color-primary: hsl(122, 60%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 60%, 45%)?
HEX: #2EB832 | RGB: rgb(46, 184, 50) | CMYK: 75%, 0%, 73%, 28% | HSV: 122°, 75%, 72%. Copy any format from the conversion table above.
What colors go well with #2EB832?
The complementary color is HSL(302, 60%, 45%). 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, 60%, 45%) in CSS?
As HSL: color: hsl(122, 60%, 45%); — As HEX: color: #2EB832; — As RGB: color: rgb(46, 184, 50); — Tailwind CSS: bg-[hsl(122,60%,45%)] — CSS variable: --color-primary: hsl(122, 60%, 45%);