HSL(89, 80%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,80%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 80%, 31%) | color: hsl(89, 80%, 31%) | |
| HEX | #518E10 | color: #518E10 | |
| RGB | rgb(81, 142, 16) | color: rgb(81, 142, 16) | |
| CMYK | cmyk(43%, 0%, 89%, 44%) | — | |
| HSV | hsv(89, 89%, 56%) | — | |
| HWB | hwb(89 6% 44%) | color: hwb(89 6% 44%) | |
| OKLCH | oklch(0.5826 0.1602 133.6) | color: oklch(0.5826 0.1602 133.6) | |
| Lab | lab(53.09 -39.15 53.34) | color: lab(53.09 -39.15 53.34) | |
| LCH | lch(53.09 66.17 126.28) | color: lch(53.09 66.17 126.28) |
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)
#6B6C2E — rgb(107, 108, 46)
Deuteranopia (Green-blind)
#686336 — rgb(104, 99, 54)
Tritanopia (Blue-blind)
#54474C — rgb(84, 71, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 80%, 31%);
text
color: hsl(89, 80%, 31%);
border
border: 2px solid hsl(89, 80%, 31%);
gradient light
background: linear-gradient(to right, hsl(89, 80%, 51%), hsl(89, 80%, 31%));
gradient dark
background: linear-gradient(to right, hsl(89, 80%, 31%), hsl(89, 80%, 11%))
hex
background-color: #518E10;
tailwind
bg-[hsl(89,80%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 80%, 31%, 0.4);
css variable
--color-primary: hsl(89, 80%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 80%, 31%)?
HEX: #518E10 | RGB: rgb(81, 142, 16) | CMYK: 43%, 0%, 89%, 44% | HSV: 89°, 89%, 56%. Copy any format from the conversion table above.
What colors go well with #518E10?
The complementary color is HSL(269, 80%, 31%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 80%, 31%) in CSS?
As HSL: color: hsl(89, 80%, 31%); — As HEX: color: #518E10; — As RGB: color: rgb(81, 142, 16); — Tailwind CSS: bg-[hsl(89,80%,31%)] — CSS variable: --color-primary: hsl(89, 80%, 31%);