HSL(142, 74%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,74%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 74%, 52%) | color: hsl(142, 74%, 52%) | |
| HEX | #2ADF6C | color: #2ADF6C | |
| RGB | rgb(42, 223, 108) | color: rgb(42, 223, 108) | |
| CMYK | cmyk(81%, 0%, 52%, 13%) | — | |
| HSV | hsv(142, 81%, 87%) | — | |
| HWB | hwb(142 17% 13%) | color: hwb(142 17% 13%) | |
| OKLCH | oklch(0.7935 0.2097 149.61) | color: oklch(0.7935 0.2097 149.61) | |
| Lab | lab(78.66 -67.42 43.94) | color: lab(78.66 -67.42 43.94) | |
| LCH | lch(78.66 80.47 146.91) | color: lch(78.66 80.47 146.91) |
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)
#787A88 — rgb(120, 122, 136)
Deuteranopia (Green-blind)
#6E608F — rgb(110, 96, 143)
Tritanopia (Blue-blind)
#339EA3 — rgb(51, 158, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 74%, 52%);
text
color: hsl(142, 74%, 52%);
border
border: 2px solid hsl(142, 74%, 52%);
gradient light
background: linear-gradient(to right, hsl(142, 74%, 72%), hsl(142, 74%, 52%));
gradient dark
background: linear-gradient(to right, hsl(142, 74%, 52%), hsl(142, 74%, 32%))
hex
background-color: #2ADF6C;
tailwind
bg-[hsl(142,74%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 74%, 52%, 0.4);
css variable
--color-primary: hsl(142, 74%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 74%, 52%)?
HEX: #2ADF6C | RGB: rgb(42, 223, 108) | CMYK: 81%, 0%, 52%, 13% | HSV: 142°, 81%, 87%. Copy any format from the conversion table above.
What colors go well with #2ADF6C?
The complementary color is HSL(322, 74%, 52%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 74%, 52%) in CSS?
As HSL: color: hsl(142, 74%, 52%); — As HEX: color: #2ADF6C; — As RGB: color: rgb(42, 223, 108); — Tailwind CSS: bg-[hsl(142,74%,52%)] — CSS variable: --color-primary: hsl(142, 74%, 52%);