HSL(87, 31%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,31%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 31%, 51%) | color: hsl(87, 31%, 51%) | |
| HEX | #86A95B | color: #86A95B | |
| RGB | rgb(134, 169, 91) | color: rgb(134, 169, 91) | |
| CMYK | cmyk(21%, 0%, 46%, 34%) | — | |
| HSV | hsv(87, 46%, 66%) | — | |
| HWB | hwb(87 36% 34%) | color: hwb(87 36% 34%) | |
| OKLCH | oklch(0.6905 0.1125 128.8) | color: oklch(0.6905 0.1125 128.8) | |
| Lab | lab(65.12 -25.47 36.27) | color: lab(65.12 -25.47 36.27) | |
| LCH | lch(65.12 44.32 125.08) | color: lch(65.12 44.32 125.08) |
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)
#95956E — rgb(149, 149, 110)
Deuteranopia (Green-blind)
#939172 — rgb(147, 145, 114)
Tritanopia (Blue-blind)
#887D80 — rgb(136, 125, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 31%, 51%);
text
color: hsl(87, 31%, 51%);
border
border: 2px solid hsl(87, 31%, 51%);
gradient light
background: linear-gradient(to right, hsl(87, 31%, 71%), hsl(87, 31%, 51%));
gradient dark
background: linear-gradient(to right, hsl(87, 31%, 51%), hsl(87, 31%, 31%))
hex
background-color: #86A95B;
tailwind
bg-[hsl(87,31%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 31%, 51%, 0.4);
css variable
--color-primary: hsl(87, 31%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 31%, 51%)?
HEX: #86A95B | RGB: rgb(134, 169, 91) | CMYK: 21%, 0%, 46%, 34% | HSV: 87°, 46%, 66%. Copy any format from the conversion table above.
What colors go well with #86A95B?
The complementary color is HSL(267, 31%, 51%). 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, 31%, 51%) in CSS?
As HSL: color: hsl(87, 31%, 51%); — As HEX: color: #86A95B; — As RGB: color: rgb(134, 169, 91); — Tailwind CSS: bg-[hsl(87,31%,51%)] — CSS variable: --color-primary: hsl(87, 31%, 51%);