HSL(142, 66%, 39%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,66%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 66%, 39%) color: hsl(142, 66%, 39%)
HEX #22A552 color: #22A552
RGB rgb(34, 165, 82) color: rgb(34, 165, 82)
CMYK cmyk(79%, 0%, 50%, 35%)
HSV hsv(142, 79%, 65%)
HWB hwb(142 14% 35%) color: hwb(142 14% 35%)
OKLCH oklch(0.6355 0.1628 150.17) color: oklch(0.6355 0.1628 150.17)
Lab lab(59.76 -52.58 33.33) color: lab(59.76 -52.58 33.33)
LCH lch(59.76 62.25 147.63) color: lch(59.76 62.25 147.63)

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.2:1
vs Black 6.57: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)

#5B5C66 — rgb(91, 92, 102)

Deuteranopia (Green-blind)

#53496B — rgb(83, 73, 107)

Tritanopia (Blue-blind)

#297679 — rgb(41, 118, 121)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 66%, 39%);

text

color: hsl(142, 66%, 39%);

border

border: 2px solid hsl(142, 66%, 39%);

gradient light

background: linear-gradient(to right, hsl(142, 66%, 59%), hsl(142, 66%, 39%));

gradient dark

background: linear-gradient(to right, hsl(142, 66%, 39%), hsl(142, 66%, 19%))

hex

background-color: #22A552;

tailwind

bg-[hsl(142,66%,39%)]

box shadow

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

css variable

--color-primary: hsl(142, 66%, 39%);

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(142, 66%, 39%)?

HEX: #22A552 | RGB: rgb(34, 165, 82) | CMYK: 79%, 0%, 50%, 35% | HSV: 142°, 79%, 65%. Copy any format from the conversion table above.

What colors go well with #22A552?

The complementary color is HSL(322, 66%, 39%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(142, 66%, 39%) in CSS?

As HSL: color: hsl(142, 66%, 39%); — As HEX: color: #22A552; — As RGB: color: rgb(34, 165, 82); — Tailwind CSS: bg-[hsl(142,66%,39%)] — CSS variable: --color-primary: hsl(142, 66%, 39%);