HSL(128, 60%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,60%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 60%, 45%) | color: hsl(128, 60%, 45%) | |
| HEX | #2EB840 | color: #2EB840 | |
| RGB | rgb(46, 184, 64) | color: rgb(46, 184, 64) | |
| CMYK | cmyk(75%, 0%, 65%, 28%) | — | |
| HSV | hsv(128, 75%, 72%) | — | |
| HWB | hwb(128 18% 28%) | color: hwb(128 18% 28%) | |
| OKLCH | oklch(0.6865 0.1977 144.78) | color: oklch(0.6865 0.1977 144.78) | |
| Lab | lab(65.93 -59.8 49.14) | color: lab(65.93 -59.8 49.14) | |
| LCH | lch(65.93 77.4 140.59) | color: lch(65.93 77.4 140.59) |
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)
#6A6B5D — rgb(106, 107, 93)
Deuteranopia (Green-blind)
#625764 — rgb(98, 87, 100)
Tritanopia (Blue-blind)
#357479 — rgb(53, 116, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 60%, 45%);
text
color: hsl(128, 60%, 45%);
border
border: 2px solid hsl(128, 60%, 45%);
gradient light
background: linear-gradient(to right, hsl(128, 60%, 65%), hsl(128, 60%, 45%));
gradient dark
background: linear-gradient(to right, hsl(128, 60%, 45%), hsl(128, 60%, 25%))
hex
background-color: #2EB840;
tailwind
bg-[hsl(128,60%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 60%, 45%, 0.4);
css variable
--color-primary: hsl(128, 60%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 60%, 45%)?
HEX: #2EB840 | RGB: rgb(46, 184, 64) | CMYK: 75%, 0%, 65%, 28% | HSV: 128°, 75%, 72%. Copy any format from the conversion table above.
What colors go well with #2EB840?
The complementary color is HSL(308, 60%, 45%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 60%, 45%) in CSS?
As HSL: color: hsl(128, 60%, 45%); — As HEX: color: #2EB840; — As RGB: color: rgb(46, 184, 64); — Tailwind CSS: bg-[hsl(128,60%,45%)] — CSS variable: --color-primary: hsl(128, 60%, 45%);