HSL(108, 30%, 60%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,30%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 30%, 60%) | color: hsl(108, 30%, 60%) | |
| HEX | #87B87A | color: #87B87A | |
| RGB | rgb(135, 184, 122) | color: rgb(135, 184, 122) | |
| CMYK | cmyk(27%, 0%, 34%, 28%) | — | |
| HSV | hsv(107, 34%, 72%) | — | |
| HWB | hwb(107 48% 28%) | color: hwb(107 48% 28%) | |
| OKLCH | oklch(0.732 0.1012 139.2) | color: oklch(0.732 0.1012 139.2) | |
| Lab | lab(70.06 -28.1 26.44) | color: lab(70.06 -28.1 26.44) | |
| LCH | lch(70.06 38.58 136.74) | color: lch(70.06 38.58 136.74) |
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)
#9C9D89 — rgb(156, 157, 137)
Deuteranopia (Green-blind)
#99968D — rgb(153, 150, 141)
Tritanopia (Blue-blind)
#899597 — rgb(137, 149, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 30%, 60%);
text
color: hsl(108, 30%, 60%);
border
border: 2px solid hsl(108, 30%, 60%);
gradient light
background: linear-gradient(to right, hsl(108, 30%, 80%), hsl(108, 30%, 60%));
gradient dark
background: linear-gradient(to right, hsl(108, 30%, 60%), hsl(108, 30%, 40%))
hex
background-color: #87B87A;
tailwind
bg-[hsl(108,30%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 30%, 60%, 0.4);
css variable
--color-primary: hsl(108, 30%, 60%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 30%, 60%)?
HEX: #87B87A | RGB: rgb(135, 184, 122) | CMYK: 27%, 0%, 34%, 28% | HSV: 107°, 34%, 72%. Copy any format from the conversion table above.
What colors go well with #87B87A?
The complementary color is HSL(288, 30%, 60%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 30%, 60%) in CSS?
As HSL: color: hsl(108, 30%, 60%); — As HEX: color: #87B87A; — As RGB: color: rgb(135, 184, 122); — Tailwind CSS: bg-[hsl(108,30%,60%)] — CSS variable: --color-primary: hsl(108, 30%, 60%);