HSL(142, 41%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,41%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 41%, 22%) color: hsl(142, 41%, 22%)
HEX #214F32 color: #214F32
RGB rgb(33, 79, 50) color: rgb(33, 79, 50)
CMYK cmyk(58%, 0%, 37%, 69%)
HSV hsv(142, 58%, 31%)
HWB hwb(142 13% 69%) color: hwb(142 13% 69%)
OKLCH oklch(0.3865 0.071 153.74) color: oklch(0.3865 0.071 153.74)
Lab lab(29.78 -23.41 12.48) color: lab(29.78 -23.41 12.48)
LCH lch(29.78 26.53 151.94) color: lch(29.78 26.53 151.94)

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 9.42:1
vs Black 2.23:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#353539 — rgb(53, 53, 57)

Deuteranopia (Green-blind)

#322F3B — rgb(50, 47, 59)

Tritanopia (Blue-blind)

#233F40 — rgb(35, 63, 64)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 41%, 22%);

text

color: hsl(142, 41%, 22%);

border

border: 2px solid hsl(142, 41%, 22%);

gradient light

background: linear-gradient(to right, hsl(142, 41%, 42%), hsl(142, 41%, 22%));

gradient dark

background: linear-gradient(to right, hsl(142, 41%, 22%), hsl(142, 41%, 2%))

hex

background-color: #214F32;

tailwind

bg-[hsl(142,41%,22%)]

box shadow

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

css variable

--color-primary: hsl(142, 41%, 22%);

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, 41%, 22%)?

HEX: #214F32 | RGB: rgb(33, 79, 50) | CMYK: 58%, 0%, 37%, 69% | HSV: 142°, 58%, 31%. Copy any format from the conversion table above.

What colors go well with #214F32?

The complementary color is HSL(322, 41%, 22%). 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, 41%, 22%) in CSS?

As HSL: color: hsl(142, 41%, 22%); — As HEX: color: #214F32; — As RGB: color: rgb(33, 79, 50); — Tailwind CSS: bg-[hsl(142,41%,22%)] — CSS variable: --color-primary: hsl(142, 41%, 22%);