HSL(121, 20%, 58%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,20%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 20%, 58%) color: hsl(121, 20%, 58%)
HEX #7EA97F color: #7EA97F
RGB rgb(126, 169, 127) color: rgb(126, 169, 127)
CMYK cmyk(25%, 0%, 25%, 34%)
HSV hsv(121, 25%, 66%)
HWB hwb(121 50% 34%) color: hwb(121 50% 34%)
OKLCH oklch(0.6921 0.0765 145.26) color: oklch(0.6921 0.0765 145.26)
Lab lab(65.23 -23 17.1) color: lab(65.23 -23 17.1)
LCH lch(65.23 28.66 143.37) color: lch(65.23 28.66 143.37)

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 2.67:1
vs Black 7.87:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#919189 — rgb(145, 145, 137)

Deuteranopia (Green-blind)

#8E8B8C — rgb(142, 139, 140)

Tritanopia (Blue-blind)

#809193 — rgb(128, 145, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 20%, 58%);

text

color: hsl(121, 20%, 58%);

border

border: 2px solid hsl(121, 20%, 58%);

gradient light

background: linear-gradient(to right, hsl(121, 20%, 78%), hsl(121, 20%, 58%));

gradient dark

background: linear-gradient(to right, hsl(121, 20%, 58%), hsl(121, 20%, 38%))

hex

background-color: #7EA97F;

tailwind

bg-[hsl(121,20%,58%)]

box shadow

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

css variable

--color-primary: hsl(121, 20%, 58%);

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(121, 20%, 58%)?

HEX: #7EA97F | RGB: rgb(126, 169, 127) | CMYK: 25%, 0%, 25%, 34% | HSV: 121°, 25%, 66%. Copy any format from the conversion table above.

What colors go well with #7EA97F?

The complementary color is HSL(301, 20%, 58%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(121, 20%, 58%) in CSS?

As HSL: color: hsl(121, 20%, 58%); — As HEX: color: #7EA97F; — As RGB: color: rgb(126, 169, 127); — Tailwind CSS: bg-[hsl(121,20%,58%)] — CSS variable: --color-primary: hsl(121, 20%, 58%);