HSL(87, 80%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,80%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 80%, 46%) | color: hsl(87, 80%, 46%) | |
| HEX | #7FD317 | color: #7FD317 | |
| RGB | rgb(127, 211, 23) | color: rgb(127, 211, 23) | |
| CMYK | cmyk(40%, 0%, 89%, 17%) | — | |
| HSV | hsv(87, 89%, 83%) | — | |
| HWB | hwb(87 9% 17%) | color: hwb(87 9% 17%) | |
| OKLCH | oklch(0.7827 0.2145 132.72) | color: oklch(0.7827 0.2145 132.72) | |
| Lab | lab(76.78 -51.34 72.87) | color: lab(76.78 -51.34 72.87) | |
| LCH | lch(76.78 89.14 125.17) | color: lch(76.78 89.14 125.17) |
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)
#A3A444 — rgb(163, 164, 68)
Deuteranopia (Green-blind)
#9F984F — rgb(159, 152, 79)
Tritanopia (Blue-blind)
#836870 — rgb(131, 104, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 80%, 46%);
text
color: hsl(87, 80%, 46%);
border
border: 2px solid hsl(87, 80%, 46%);
gradient light
background: linear-gradient(to right, hsl(87, 80%, 66%), hsl(87, 80%, 46%));
gradient dark
background: linear-gradient(to right, hsl(87, 80%, 46%), hsl(87, 80%, 26%))
hex
background-color: #7FD317;
tailwind
bg-[hsl(87,80%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 80%, 46%, 0.4);
css variable
--color-primary: hsl(87, 80%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 80%, 46%)?
HEX: #7FD317 | RGB: rgb(127, 211, 23) | CMYK: 40%, 0%, 89%, 17% | HSV: 87°, 89%, 83%. Copy any format from the conversion table above.
What colors go well with #7FD317?
The complementary color is HSL(267, 80%, 46%). 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, 80%, 46%) in CSS?
As HSL: color: hsl(87, 80%, 46%); — As HEX: color: #7FD317; — As RGB: color: rgb(127, 211, 23); — Tailwind CSS: bg-[hsl(87,80%,46%)] — CSS variable: --color-primary: hsl(87, 80%, 46%);