HSL(100, 70%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(100,70%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(100, 70%, 42%) | color: hsl(100, 70%, 42%) | |
| HEX | #52B620 | color: #52B620 | |
| RGB | rgb(82, 182, 32) | color: rgb(82, 182, 32) | |
| CMYK | cmyk(55%, 0%, 82%, 29%) | — | |
| HSV | hsv(100, 82%, 71%) | — | |
| HWB | hwb(100 13% 29%) | color: hwb(100 13% 29%) | |
| OKLCH | oklch(0.6893 0.2006 138.01) | color: oklch(0.6893 0.2006 138.01) | |
| Lab | lab(66.02 -53.85 60.87) | color: lab(66.02 -53.85 60.87) | |
| LCH | lch(66.02 81.27 131.5) | color: lch(66.02 81.27 131.5) |
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)
#7D7E44 — rgb(125, 126, 68)
Deuteranopia (Green-blind)
#78704D — rgb(120, 112, 77)
Tritanopia (Blue-blind)
#576167 — rgb(87, 97, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(100, 70%, 42%);
text
color: hsl(100, 70%, 42%);
border
border: 2px solid hsl(100, 70%, 42%);
gradient light
background: linear-gradient(to right, hsl(100, 70%, 62%), hsl(100, 70%, 42%));
gradient dark
background: linear-gradient(to right, hsl(100, 70%, 42%), hsl(100, 70%, 22%))
hex
background-color: #52B620;
tailwind
bg-[hsl(100,70%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(100, 70%, 42%, 0.4);
css variable
--color-primary: hsl(100, 70%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(100, 70%, 42%)?
HEX: #52B620 | RGB: rgb(82, 182, 32) | CMYK: 55%, 0%, 82%, 29% | HSV: 100°, 82%, 71%. Copy any format from the conversion table above.
What colors go well with #52B620?
The complementary color is HSL(280, 70%, 42%). For a triadic harmony, use hues 100°, 220°, and 340°. For analogous combinations, try hues 70° and 130°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(100, 70%, 42%) in CSS?
As HSL: color: hsl(100, 70%, 42%); — As HEX: color: #52B620; — As RGB: color: rgb(82, 182, 32); — Tailwind CSS: bg-[hsl(100,70%,42%)] — CSS variable: --color-primary: hsl(100, 70%, 42%);