HSL(90, 20%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(90,20%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(90, 20%, 50%) | color: hsl(90, 20%, 50%) | |
| HEX | #809966 | color: #809966 | |
| RGB | rgb(128, 153, 102) | color: rgb(128, 153, 102) | |
| CMYK | cmyk(16%, 0%, 33%, 40%) | — | |
| HSV | hsv(89, 33%, 60%) | — | |
| HWB | hwb(89 40% 40%) | color: hwb(89 40% 40%) | |
| OKLCH | oklch(0.6503 0.0777 129.56) | color: oklch(0.6503 0.0777 129.56) | |
| Lab | lab(60.19 -18.21 24) | color: lab(60.19 -18.21 24) | |
| LCH | lch(60.19 30.13 127.19) | color: lch(60.19 30.13 127.19) |
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)
#8B8B72 — rgb(139, 139, 114)
Deuteranopia (Green-blind)
#898875 — rgb(137, 136, 117)
Tritanopia (Blue-blind)
#817C7E — rgb(129, 124, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(90, 20%, 50%);
text
color: hsl(90, 20%, 50%);
border
border: 2px solid hsl(90, 20%, 50%);
gradient light
background: linear-gradient(to right, hsl(90, 20%, 70%), hsl(90, 20%, 50%));
gradient dark
background: linear-gradient(to right, hsl(90, 20%, 50%), hsl(90, 20%, 30%))
hex
background-color: #809966;
tailwind
bg-[hsl(90,20%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(90, 20%, 50%, 0.4);
css variable
--color-primary: hsl(90, 20%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(90, 20%, 50%)?
HEX: #809966 | RGB: rgb(128, 153, 102) | CMYK: 16%, 0%, 33%, 40% | HSV: 89°, 33%, 60%. Copy any format from the conversion table above.
What colors go well with #809966?
The complementary color is HSL(270, 20%, 50%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(90, 20%, 50%) in CSS?
As HSL: color: hsl(90, 20%, 50%); — As HEX: color: #809966; — As RGB: color: rgb(128, 153, 102); — Tailwind CSS: bg-[hsl(90,20%,50%)] — CSS variable: --color-primary: hsl(90, 20%, 50%);