HSL(121, 40%, 64%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,40%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 40%, 64%) color: hsl(121, 40%, 64%)
HEX #7EC880 color: #7EC880
RGB rgb(126, 200, 128) color: rgb(126, 200, 128)
CMYK cmyk(37%, 0%, 36%, 22%)
HSV hsv(122, 37%, 78%)
HWB hwb(122 49% 22%) color: hwb(122 49% 22%)
OKLCH oklch(0.766 0.1254 144.83) color: oklch(0.766 0.1254 144.83)
Lab lab(74.38 -37.61 28.95) color: lab(74.38 -37.61 28.95)
LCH lch(74.38 47.46 142.41) color: lch(74.38 47.46 142.41)

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.01:1
vs Black 10.46: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)

#9E9F91 — rgb(158, 159, 145)

Deuteranopia (Green-blind)

#9A9496 — rgb(154, 148, 150)

Tritanopia (Blue-blind)

#829FA2 — rgb(130, 159, 162)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 40%, 64%);

text

color: hsl(121, 40%, 64%);

border

border: 2px solid hsl(121, 40%, 64%);

gradient light

background: linear-gradient(to right, hsl(121, 40%, 84%), hsl(121, 40%, 64%));

gradient dark

background: linear-gradient(to right, hsl(121, 40%, 64%), hsl(121, 40%, 44%))

hex

background-color: #7EC880;

tailwind

bg-[hsl(121,40%,64%)]

box shadow

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

css variable

--color-primary: hsl(121, 40%, 64%);

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, 40%, 64%)?

HEX: #7EC880 | RGB: rgb(126, 200, 128) | CMYK: 37%, 0%, 36%, 22% | HSV: 122°, 37%, 78%. Copy any format from the conversion table above.

What colors go well with #7EC880?

The complementary color is HSL(301, 40%, 64%). 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, 40%, 64%) in CSS?

As HSL: color: hsl(121, 40%, 64%); — As HEX: color: #7EC880; — As RGB: color: rgb(126, 200, 128); — Tailwind CSS: bg-[hsl(121,40%,64%)] — CSS variable: --color-primary: hsl(121, 40%, 64%);