HSL(87, 77%, 66%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,77%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 77%, 66%) | color: hsl(87, 77%, 66%) | |
| HEX | #AFEB66 | color: #AFEB66 | |
| RGB | rgb(175, 235, 102) | color: rgb(175, 235, 102) | |
| CMYK | cmyk(26%, 0%, 57%, 8%) | — | |
| HSV | hsv(87, 57%, 92%) | — | |
| HWB | hwb(87 40% 8%) | color: hwb(87 40% 8%) | |
| OKLCH | oklch(0.8721 0.1748 129.71) | color: oklch(0.8721 0.1748 129.71) | |
| Lab | lab(86.75 -39.82 57.42) | color: lab(86.75 -39.82 57.42) | |
| LCH | lch(86.75 69.88 124.74) | color: lch(86.75 69.88 124.74) |
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)
#C9CA86 — rgb(201, 202, 134)
Deuteranopia (Green-blind)
#C6C18E — rgb(198, 193, 142)
Tritanopia (Blue-blind)
#B2A0A5 — rgb(178, 160, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 77%, 66%);
text
color: hsl(87, 77%, 66%);
border
border: 2px solid hsl(87, 77%, 66%);
gradient light
background: linear-gradient(to right, hsl(87, 77%, 86%), hsl(87, 77%, 66%));
gradient dark
background: linear-gradient(to right, hsl(87, 77%, 66%), hsl(87, 77%, 46%))
hex
background-color: #AFEB66;
tailwind
bg-[hsl(87,77%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 77%, 66%, 0.4);
css variable
--color-primary: hsl(87, 77%, 66%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 77%, 66%)?
HEX: #AFEB66 | RGB: rgb(175, 235, 102) | CMYK: 26%, 0%, 57%, 8% | HSV: 87°, 57%, 92%. Copy any format from the conversion table above.
What colors go well with #AFEB66?
The complementary color is HSL(267, 77%, 66%). 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, 77%, 66%) in CSS?
As HSL: color: hsl(87, 77%, 66%); — As HEX: color: #AFEB66; — As RGB: color: rgb(175, 235, 102); — Tailwind CSS: bg-[hsl(87,77%,66%)] — CSS variable: --color-primary: hsl(87, 77%, 66%);