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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.15:1
vs Black 6.67:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Success states Eco/nature brands Finance apps Health apps Confirm buttons

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%);