HSL(97, 94%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,94%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 94%, 40%) | color: hsl(97, 94%, 40%) | |
| HEX | #50C606 | color: #50C606 | |
| RGB | rgb(80, 198, 6) | color: rgb(80, 198, 6) | |
| CMYK | cmyk(60%, 0%, 97%, 22%) | — | |
| HSV | hsv(97, 97%, 78%) | — | |
| HWB | hwb(97 2% 22%) | color: hwb(97 2% 22%) | |
| OKLCH | oklch(0.7296 0.2254 138.31) | color: oklch(0.7296 0.2254 138.31) | |
| Lab | lab(70.94 -60.78 69.56) | color: lab(70.94 -60.78 69.56) | |
| LCH | lch(70.94 92.37 131.15) | color: lch(70.94 92.37 131.15) |
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)
#838434 — rgb(131, 132, 52)
Deuteranopia (Green-blind)
#7C7340 — rgb(124, 115, 64)
Tritanopia (Blue-blind)
#565961 — rgb(86, 89, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 94%, 40%);
text
color: hsl(97, 94%, 40%);
border
border: 2px solid hsl(97, 94%, 40%);
gradient light
background: linear-gradient(to right, hsl(97, 94%, 60%), hsl(97, 94%, 40%));
gradient dark
background: linear-gradient(to right, hsl(97, 94%, 40%), hsl(97, 94%, 20%))
hex
background-color: #50C606;
tailwind
bg-[hsl(97,94%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 94%, 40%, 0.4);
css variable
--color-primary: hsl(97, 94%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 94%, 40%)?
HEX: #50C606 | RGB: rgb(80, 198, 6) | CMYK: 60%, 0%, 97%, 22% | HSV: 97°, 97%, 78%. Copy any format from the conversion table above.
What colors go well with #50C606?
The complementary color is HSL(277, 94%, 40%). 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, 94%, 40%) in CSS?
As HSL: color: hsl(97, 94%, 40%); — As HEX: color: #50C606; — As RGB: color: rgb(80, 198, 6); — Tailwind CSS: bg-[hsl(97,94%,40%)] — CSS variable: --color-primary: hsl(97, 94%, 40%);