HSL(107, 20%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(107,20%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 20%, 52%) color: hsl(107, 20%, 52%)
HEX #779D6C color: #779D6C
RGB rgb(119, 157, 108) color: rgb(119, 157, 108)
CMYK cmyk(24%, 0%, 31%, 38%)
HSV hsv(107, 31%, 62%)
HWB hwb(107 43% 38%) color: hwb(107 43% 38%)
OKLCH oklch(0.6548 0.0822 138.76) color: oklch(0.6548 0.0822 138.76)
Lab lab(60.89 -22.69 21.54) color: lab(60.89 -22.69 21.54)
LCH lch(60.89 31.29 136.49) color: lch(60.89 31.29 136.49)

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.08:1
vs Black 6.82: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)

#878878 — rgb(135, 136, 120)

Deuteranopia (Green-blind)

#85827B — rgb(133, 130, 123)

Tritanopia (Blue-blind)

#798183 — rgb(121, 129, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(107, 20%, 52%);

text

color: hsl(107, 20%, 52%);

border

border: 2px solid hsl(107, 20%, 52%);

gradient light

background: linear-gradient(to right, hsl(107, 20%, 72%), hsl(107, 20%, 52%));

gradient dark

background: linear-gradient(to right, hsl(107, 20%, 52%), hsl(107, 20%, 32%))

hex

background-color: #779D6C;

tailwind

bg-[hsl(107,20%,52%)]

box shadow

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

css variable

--color-primary: hsl(107, 20%, 52%);

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(107, 20%, 52%)?

HEX: #779D6C | RGB: rgb(119, 157, 108) | CMYK: 24%, 0%, 31%, 38% | HSV: 107°, 31%, 62%. Copy any format from the conversion table above.

What colors go well with #779D6C?

The complementary color is HSL(287, 20%, 52%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(107, 20%, 52%) in CSS?

As HSL: color: hsl(107, 20%, 52%); — As HEX: color: #779D6C; — As RGB: color: rgb(119, 157, 108); — Tailwind CSS: bg-[hsl(107,20%,52%)] — CSS variable: --color-primary: hsl(107, 20%, 52%);