HSL(121, 72%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(121,72%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(121, 72%, 42%) | color: hsl(121, 72%, 42%) | |
| HEX | #1EB821 | color: #1EB821 | |
| RGB | rgb(30, 184, 33) | color: rgb(30, 184, 33) | |
| CMYK | cmyk(84%, 0%, 82%, 28%) | — | |
| HSV | hsv(121, 84%, 72%) | — | |
| HWB | hwb(121 12% 28%) | color: hwb(121 12% 28%) | |
| OKLCH | oklch(0.6815 0.2191 142.85) | color: oklch(0.6815 0.2191 142.85) | |
| Lab | lab(65.49 -64.37 59.68) | color: lab(65.49 -64.37 59.68) | |
| LCH | lch(65.49 87.78 137.17) | color: lch(65.49 87.78 137.17) |
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)
#616246 — rgb(97, 98, 70)
Deuteranopia (Green-blind)
#584C4E — rgb(88, 76, 78)
Tritanopia (Blue-blind)
#266269 — rgb(38, 98, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(121, 72%, 42%);
text
color: hsl(121, 72%, 42%);
border
border: 2px solid hsl(121, 72%, 42%);
gradient light
background: linear-gradient(to right, hsl(121, 72%, 62%), hsl(121, 72%, 42%));
gradient dark
background: linear-gradient(to right, hsl(121, 72%, 42%), hsl(121, 72%, 22%))
hex
background-color: #1EB821;
tailwind
bg-[hsl(121,72%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(121, 72%, 42%, 0.4);
css variable
--color-primary: hsl(121, 72%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(121, 72%, 42%)?
HEX: #1EB821 | RGB: rgb(30, 184, 33) | CMYK: 84%, 0%, 82%, 28% | HSV: 121°, 84%, 72%. Copy any format from the conversion table above.
What colors go well with #1EB821?
The complementary color is HSL(301, 72%, 42%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(121, 72%, 42%) in CSS?
As HSL: color: hsl(121, 72%, 42%); — As HEX: color: #1EB821; — As RGB: color: rgb(30, 184, 33); — Tailwind CSS: bg-[hsl(121,72%,42%)] — CSS variable: --color-primary: hsl(121, 72%, 42%);