HSL(124, 72%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(124,72%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(124, 72%, 52%) | color: hsl(124, 72%, 52%) | |
| HEX | #2CDD38 | color: #2CDD38 | |
| RGB | rgb(44, 221, 56) | color: rgb(44, 221, 56) | |
| CMYK | cmyk(80%, 0%, 75%, 13%) | — | |
| HSV | hsv(124, 80%, 87%) | — | |
| HWB | hwb(124 17% 13%) | color: hwb(124 17% 13%) | |
| OKLCH | oklch(0.7832 0.2436 143.47) | color: oklch(0.7832 0.2436 143.47) | |
| Lab | lab(77.6 -72.31 64.37) | color: lab(77.6 -72.31 64.37) | |
| LCH | lch(77.6 96.81 138.32) | color: lch(77.6 96.81 138.32) |
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)
#797A60 — rgb(121, 122, 96)
Deuteranopia (Green-blind)
#6E616A — rgb(110, 97, 106)
Tritanopia (Blue-blind)
#357F86 — rgb(53, 127, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(124, 72%, 52%);
text
color: hsl(124, 72%, 52%);
border
border: 2px solid hsl(124, 72%, 52%);
gradient light
background: linear-gradient(to right, hsl(124, 72%, 72%), hsl(124, 72%, 52%));
gradient dark
background: linear-gradient(to right, hsl(124, 72%, 52%), hsl(124, 72%, 32%))
hex
background-color: #2CDD38;
tailwind
bg-[hsl(124,72%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(124, 72%, 52%, 0.4);
css variable
--color-primary: hsl(124, 72%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(124, 72%, 52%)?
HEX: #2CDD38 | RGB: rgb(44, 221, 56) | CMYK: 80%, 0%, 75%, 13% | HSV: 124°, 80%, 87%. Copy any format from the conversion table above.
What colors go well with #2CDD38?
The complementary color is HSL(304, 72%, 52%). For a triadic harmony, use hues 124°, 244°, and 4°. For analogous combinations, try hues 94° and 154°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(124, 72%, 52%) in CSS?
As HSL: color: hsl(124, 72%, 52%); — As HEX: color: #2CDD38; — As RGB: color: rgb(44, 221, 56); — Tailwind CSS: bg-[hsl(124,72%,52%)] — CSS variable: --color-primary: hsl(124, 72%, 52%);