HSL(142, 62%, 37%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(142,62%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 62%, 37%) | color: hsl(142, 62%, 37%) | |
| HEX | #24994F | color: #24994F | |
| RGB | rgb(36, 153, 79) | color: rgb(36, 153, 79) | |
| CMYK | cmyk(76%, 0%, 48%, 40%) | — | |
| HSV | hsv(142, 76%, 60%) | — | |
| HWB | hwb(142 14% 40%) | color: hwb(142 14% 40%) | |
| OKLCH | oklch(0.6027 0.1494 150.69) | color: oklch(0.6027 0.1494 150.69) | |
| Lab | lab(55.81 -48.45 29.93) | color: lab(55.81 -48.45 29.93) | |
| LCH | lch(55.81 56.95 148.29) | color: lch(55.81 56.95 148.29) |
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)
#575861 — rgb(87, 88, 97)
Deuteranopia (Green-blind)
#504765 — rgb(80, 71, 101)
Tritanopia (Blue-blind)
#2A6F72 — rgb(42, 111, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 62%, 37%);
text
color: hsl(142, 62%, 37%);
border
border: 2px solid hsl(142, 62%, 37%);
gradient light
background: linear-gradient(to right, hsl(142, 62%, 57%), hsl(142, 62%, 37%));
gradient dark
background: linear-gradient(to right, hsl(142, 62%, 37%), hsl(142, 62%, 17%))
hex
background-color: #24994F;
tailwind
bg-[hsl(142,62%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 62%, 37%, 0.4);
css variable
--color-primary: hsl(142, 62%, 37%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(142, 62%, 37%)?
HEX: #24994F | RGB: rgb(36, 153, 79) | CMYK: 76%, 0%, 48%, 40% | HSV: 142°, 76%, 60%. Copy any format from the conversion table above.
What colors go well with #24994F?
The complementary color is HSL(322, 62%, 37%). 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, 62%, 37%) in CSS?
As HSL: color: hsl(142, 62%, 37%); — As HEX: color: #24994F; — As RGB: color: rgb(36, 153, 79); — Tailwind CSS: bg-[hsl(142,62%,37%)] — CSS variable: --color-primary: hsl(142, 62%, 37%);