HSL(87, 30%, 49%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,30%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 30%, 49%) | color: hsl(87, 30%, 49%) | |
| HEX | #81A257 | color: #81A257 | |
| RGB | rgb(129, 162, 87) | color: rgb(129, 162, 87) | |
| CMYK | cmyk(20%, 0%, 46%, 36%) | — | |
| HSV | hsv(86, 46%, 64%) | — | |
| HWB | hwb(86 35% 36%) | color: hwb(86 35% 36%) | |
| OKLCH | oklch(0.6697 0.1087 128.48) | color: oklch(0.6697 0.1087 128.48) | |
| Lab | lab(62.67 -24.43 35.21) | color: lab(62.67 -24.43 35.21) | |
| LCH | lch(62.67 42.86 124.75) | color: lch(62.67 42.86 124.75) |
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)
#8F9069 — rgb(143, 144, 105)
Deuteranopia (Green-blind)
#8D8B6E — rgb(141, 139, 110)
Tritanopia (Blue-blind)
#83777B — rgb(131, 119, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 30%, 49%);
text
color: hsl(87, 30%, 49%);
border
border: 2px solid hsl(87, 30%, 49%);
gradient light
background: linear-gradient(to right, hsl(87, 30%, 69%), hsl(87, 30%, 49%));
gradient dark
background: linear-gradient(to right, hsl(87, 30%, 49%), hsl(87, 30%, 29%))
hex
background-color: #81A257;
tailwind
bg-[hsl(87,30%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 30%, 49%, 0.4);
css variable
--color-primary: hsl(87, 30%, 49%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 30%, 49%)?
HEX: #81A257 | RGB: rgb(129, 162, 87) | CMYK: 20%, 0%, 46%, 36% | HSV: 86°, 46%, 64%. Copy any format from the conversion table above.
What colors go well with #81A257?
The complementary color is HSL(267, 30%, 49%). 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, 30%, 49%) in CSS?
As HSL: color: hsl(87, 30%, 49%); — As HEX: color: #81A257; — As RGB: color: rgb(129, 162, 87); — Tailwind CSS: bg-[hsl(87,30%,49%)] — CSS variable: --color-primary: hsl(87, 30%, 49%);