HSL(97, 80%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,80%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 80%, 42%) | color: hsl(97, 80%, 42%) | |
| HEX | #57C115 | color: #57C115 | |
| RGB | rgb(87, 193, 21) | color: rgb(87, 193, 21) | |
| CMYK | cmyk(55%, 0%, 89%, 24%) | — | |
| HSV | hsv(97, 89%, 76%) | — | |
| HWB | hwb(97 8% 24%) | color: hwb(97 8% 24%) | |
| OKLCH | oklch(0.7194 0.2142 137.52) | color: oklch(0.7194 0.2142 137.52) | |
| Lab | lab(69.62 -56.89 66.55) | color: lab(69.62 -56.89 66.55) | |
| LCH | lch(69.62 87.55 130.53) | color: lch(69.62 87.55 130.53) |
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)
#85863F — rgb(133, 134, 63)
Deuteranopia (Green-blind)
#7F7749 — rgb(127, 119, 73)
Tritanopia (Blue-blind)
#5C5F67 — rgb(92, 95, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 80%, 42%);
text
color: hsl(97, 80%, 42%);
border
border: 2px solid hsl(97, 80%, 42%);
gradient light
background: linear-gradient(to right, hsl(97, 80%, 62%), hsl(97, 80%, 42%));
gradient dark
background: linear-gradient(to right, hsl(97, 80%, 42%), hsl(97, 80%, 22%))
hex
background-color: #57C115;
tailwind
bg-[hsl(97,80%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 80%, 42%, 0.4);
css variable
--color-primary: hsl(97, 80%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 80%, 42%)?
HEX: #57C115 | RGB: rgb(87, 193, 21) | CMYK: 55%, 0%, 89%, 24% | HSV: 97°, 89%, 76%. Copy any format from the conversion table above.
What colors go well with #57C115?
The complementary color is HSL(277, 80%, 42%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 80%, 42%) in CSS?
As HSL: color: hsl(97, 80%, 42%); — As HEX: color: #57C115; — As RGB: color: rgb(87, 193, 21); — Tailwind CSS: bg-[hsl(97,80%,42%)] — CSS variable: --color-primary: hsl(97, 80%, 42%);