HSL(104, 20%, 57%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,20%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 20%, 57%) | color: hsl(104, 20%, 57%) | |
| HEX | #87A77B | color: #87A77B | |
| RGB | rgb(135, 167, 123) | color: rgb(135, 167, 123) | |
| CMYK | cmyk(19%, 0%, 26%, 35%) | — | |
| HSV | hsv(104, 26%, 65%) | — | |
| HWB | hwb(104 48% 35%) | color: hwb(104 48% 35%) | |
| OKLCH | oklch(0.6925 0.072 137.29) | color: oklch(0.6925 0.072 137.29) | |
| Lab | lab(65.14 -19.48 19.25) | color: lab(65.14 -19.48 19.25) | |
| LCH | lch(65.14 27.39 135.34) | color: lch(65.14 27.39 135.34) |
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)
#959586 — rgb(149, 149, 134)
Deuteranopia (Green-blind)
#939188 — rgb(147, 145, 136)
Tritanopia (Blue-blind)
#898E90 — rgb(137, 142, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 20%, 57%);
text
color: hsl(104, 20%, 57%);
border
border: 2px solid hsl(104, 20%, 57%);
gradient light
background: linear-gradient(to right, hsl(104, 20%, 77%), hsl(104, 20%, 57%));
gradient dark
background: linear-gradient(to right, hsl(104, 20%, 57%), hsl(104, 20%, 37%))
hex
background-color: #87A77B;
tailwind
bg-[hsl(104,20%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 20%, 57%, 0.4);
css variable
--color-primary: hsl(104, 20%, 57%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 20%, 57%)?
HEX: #87A77B | RGB: rgb(135, 167, 123) | CMYK: 19%, 0%, 26%, 35% | HSV: 104°, 26%, 65%. Copy any format from the conversion table above.
What colors go well with #87A77B?
The complementary color is HSL(284, 20%, 57%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 20%, 57%) in CSS?
As HSL: color: hsl(104, 20%, 57%); — As HEX: color: #87A77B; — As RGB: color: rgb(135, 167, 123); — Tailwind CSS: bg-[hsl(104,20%,57%)] — CSS variable: --color-primary: hsl(104, 20%, 57%);