HSL(87, 30%, 58%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,30%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 30%, 58%) | color: hsl(87, 30%, 58%) | |
| HEX | #97B474 | color: #97B474 | |
| RGB | rgb(151, 180, 116) | color: rgb(151, 180, 116) | |
| CMYK | cmyk(16%, 0%, 36%, 29%) | — | |
| HSV | hsv(87, 36%, 71%) | — | |
| HWB | hwb(87 45% 29%) | color: hwb(87 45% 29%) | |
| OKLCH | oklch(0.7323 0.0932 128.33) | color: oklch(0.7323 0.0932 128.33) | |
| Lab | lab(69.81 -21.19 29.47) | color: lab(69.81 -21.19 29.47) | |
| LCH | lch(69.81 36.3 125.72) | color: lch(69.81 36.3 125.72) |
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)
#A4A483 — rgb(164, 164, 131)
Deuteranopia (Green-blind)
#A2A087 — rgb(162, 160, 135)
Tritanopia (Blue-blind)
#989092 — rgb(152, 144, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 30%, 58%);
text
color: hsl(87, 30%, 58%);
border
border: 2px solid hsl(87, 30%, 58%);
gradient light
background: linear-gradient(to right, hsl(87, 30%, 78%), hsl(87, 30%, 58%));
gradient dark
background: linear-gradient(to right, hsl(87, 30%, 58%), hsl(87, 30%, 38%))
hex
background-color: #97B474;
tailwind
bg-[hsl(87,30%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 30%, 58%, 0.4);
css variable
--color-primary: hsl(87, 30%, 58%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 30%, 58%)?
HEX: #97B474 | RGB: rgb(151, 180, 116) | CMYK: 16%, 0%, 36%, 29% | HSV: 87°, 36%, 71%. Copy any format from the conversion table above.
What colors go well with #97B474?
The complementary color is HSL(267, 30%, 58%). 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%, 58%) in CSS?
As HSL: color: hsl(87, 30%, 58%); — As HEX: color: #97B474; — As RGB: color: rgb(151, 180, 116); — Tailwind CSS: bg-[hsl(87,30%,58%)] — CSS variable: --color-primary: hsl(87, 30%, 58%);