HSL(89, 20%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(89,20%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(89, 20%, 40%) color: hsl(89, 20%, 40%)
HEX #677A52 color: #677A52
RGB rgb(103, 122, 82) color: rgb(103, 122, 82)
CMYK cmyk(16%, 0%, 33%, 52%)
HSV hsv(89, 33%, 48%)
HWB hwb(89 32% 52%) color: hwb(89 32% 52%)
OKLCH oklch(0.5532 0.0633 128.94) color: oklch(0.5532 0.0633 128.94)
Lab lab(48.77 -14.67 19.67) color: lab(48.77 -14.67 19.67)
LCH lch(48.77 24.54 126.72) color: lch(48.77 24.54 126.72)

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 4.69:1
vs Black 4.48:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6F6F5C — rgb(111, 111, 92)

Deuteranopia (Green-blind)

#6E6D5E — rgb(110, 109, 94)

Tritanopia (Blue-blind)

#686365 — rgb(104, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(89, 20%, 40%);

text

color: hsl(89, 20%, 40%);

border

border: 2px solid hsl(89, 20%, 40%);

gradient light

background: linear-gradient(to right, hsl(89, 20%, 60%), hsl(89, 20%, 40%));

gradient dark

background: linear-gradient(to right, hsl(89, 20%, 40%), hsl(89, 20%, 20%))

hex

background-color: #677A52;

tailwind

bg-[hsl(89,20%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(89, 20%, 40%, 0.4);

css variable

--color-primary: hsl(89, 20%, 40%);

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(89, 20%, 40%)?

HEX: #677A52 | RGB: rgb(103, 122, 82) | CMYK: 16%, 0%, 33%, 52% | HSV: 89°, 33%, 48%. Copy any format from the conversion table above.

What colors go well with #677A52?

The complementary color is HSL(269, 20%, 40%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(89, 20%, 40%) in CSS?

As HSL: color: hsl(89, 20%, 40%); — As HEX: color: #677A52; — As RGB: color: rgb(103, 122, 82); — Tailwind CSS: bg-[hsl(89,20%,40%)] — CSS variable: --color-primary: hsl(89, 20%, 40%);