HSL(142, 63%, 48%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,63%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 63%, 48%) | color: hsl(142, 63%, 48%) | |
| HEX | #2DC866 | color: #2DC866 | |
| RGB | rgb(45, 200, 102) | color: rgb(45, 200, 102) | |
| CMYK | cmyk(78%, 0%, 49%, 22%) | — | |
| HSV | hsv(142, 78%, 78%) | — | |
| HWB | hwb(142 17% 22%) | color: hwb(142 17% 22%) | |
| OKLCH | oklch(0.7335 0.1863 150.33) | color: oklch(0.7335 0.1863 150.33) | |
| Lab | lab(71.43 -60.26 37.9) | color: lab(71.43 -60.26 37.9) | |
| LCH | lch(71.43 71.19 147.83) | color: lch(71.43 71.19 147.83) |
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)
#70727E — rgb(112, 114, 126)
Deuteranopia (Green-blind)
#675C83 — rgb(103, 92, 131)
Tritanopia (Blue-blind)
#359095 — rgb(53, 144, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 63%, 48%);
text
color: hsl(142, 63%, 48%);
border
border: 2px solid hsl(142, 63%, 48%);
gradient light
background: linear-gradient(to right, hsl(142, 63%, 68%), hsl(142, 63%, 48%));
gradient dark
background: linear-gradient(to right, hsl(142, 63%, 48%), hsl(142, 63%, 28%))
hex
background-color: #2DC866;
tailwind
bg-[hsl(142,63%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 63%, 48%, 0.4);
css variable
--color-primary: hsl(142, 63%, 48%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 63%, 48%)?
HEX: #2DC866 | RGB: rgb(45, 200, 102) | CMYK: 78%, 0%, 49%, 22% | HSV: 142°, 78%, 78%. Copy any format from the conversion table above.
What colors go well with #2DC866?
The complementary color is HSL(322, 63%, 48%). 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, 63%, 48%) in CSS?
As HSL: color: hsl(142, 63%, 48%); — As HEX: color: #2DC866; — As RGB: color: rgb(45, 200, 102); — Tailwind CSS: bg-[hsl(142,63%,48%)] — CSS variable: --color-primary: hsl(142, 63%, 48%);