HSL(87, 50%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,50%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 50%, 60%) | color: hsl(87, 50%, 60%) | |
| HEX | #9ECC66 | color: #9ECC66 | |
| RGB | rgb(158, 204, 102) | color: rgb(158, 204, 102) | |
| CMYK | cmyk(23%, 0%, 50%, 20%) | — | |
| HSV | hsv(87, 50%, 80%) | — | |
| HWB | hwb(87 40% 20%) | color: hwb(87 40% 20%) | |
| OKLCH | oklch(0.7901 0.1406 129.19) | color: oklch(0.7901 0.1406 129.19) | |
| Lab | lab(76.93 -31.92 45.62) | color: lab(76.93 -31.92 45.62) | |
| LCH | lch(76.93 55.68 124.98) | color: lch(76.93 55.68 124.98) |
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)
#B2B27F — rgb(178, 178, 127)
Deuteranopia (Green-blind)
#AFAC85 — rgb(175, 172, 133)
Tritanopia (Blue-blind)
#A09296 — rgb(160, 146, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 50%, 60%);
text
color: hsl(87, 50%, 60%);
border
border: 2px solid hsl(87, 50%, 60%);
gradient light
background: linear-gradient(to right, hsl(87, 50%, 80%), hsl(87, 50%, 60%));
gradient dark
background: linear-gradient(to right, hsl(87, 50%, 60%), hsl(87, 50%, 40%))
hex
background-color: #9ECC66;
tailwind
bg-[hsl(87,50%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 50%, 60%, 0.4);
css variable
--color-primary: hsl(87, 50%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 50%, 60%)?
HEX: #9ECC66 | RGB: rgb(158, 204, 102) | CMYK: 23%, 0%, 50%, 20% | HSV: 87°, 50%, 80%. Copy any format from the conversion table above.
What colors go well with #9ECC66?
The complementary color is HSL(267, 50%, 60%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 50%, 60%) in CSS?
As HSL: color: hsl(87, 50%, 60%); — As HEX: color: #9ECC66; — As RGB: color: rgb(158, 204, 102); — Tailwind CSS: bg-[hsl(87,50%,60%)] — CSS variable: --color-primary: hsl(87, 50%, 60%);