HSL(122, 35%, 66%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,35%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 35%, 66%) color: hsl(122, 35%, 66%)
HEX #8AC78C color: #8AC78C
RGB rgb(138, 199, 140) color: rgb(138, 199, 140)
CMYK cmyk(31%, 0%, 30%, 22%)
HSV hsv(122, 31%, 78%)
HWB hwb(122 54% 22%) color: hwb(122 54% 22%)
OKLCH oklch(0.7727 0.1041 145.26) color: oklch(0.7727 0.1041 145.26)
Lab lab(74.91 -31.33 23.47) color: lab(74.91 -31.33 23.47)
LCH lch(74.91 39.15 143.16) color: lch(74.91 39.15 143.16)

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 1.98:1
vs Black 10.63: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)

#A4A59A — rgb(164, 165, 154)

Deuteranopia (Green-blind)

#A19C9E — rgb(161, 156, 158)

Tritanopia (Blue-blind)

#8DA6A8 — rgb(141, 166, 168)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 35%, 66%);

text

color: hsl(122, 35%, 66%);

border

border: 2px solid hsl(122, 35%, 66%);

gradient light

background: linear-gradient(to right, hsl(122, 35%, 86%), hsl(122, 35%, 66%));

gradient dark

background: linear-gradient(to right, hsl(122, 35%, 66%), hsl(122, 35%, 46%))

hex

background-color: #8AC78C;

tailwind

bg-[hsl(122,35%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(122, 35%, 66%, 0.4);

css variable

--color-primary: hsl(122, 35%, 66%);

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(122, 35%, 66%)?

HEX: #8AC78C | RGB: rgb(138, 199, 140) | CMYK: 31%, 0%, 30%, 22% | HSV: 122°, 31%, 78%. Copy any format from the conversion table above.

What colors go well with #8AC78C?

The complementary color is HSL(302, 35%, 66%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(122, 35%, 66%) in CSS?

As HSL: color: hsl(122, 35%, 66%); — As HEX: color: #8AC78C; — As RGB: color: rgb(138, 199, 140); — Tailwind CSS: bg-[hsl(122,35%,66%)] — CSS variable: --color-primary: hsl(122, 35%, 66%);