HSL(142, 48%, 34%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,48%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 48%, 34%) color: hsl(142, 48%, 34%)
HEX #2D804C color: #2D804C
RGB rgb(45, 128, 76) color: rgb(45, 128, 76)
CMYK cmyk(65%, 0%, 41%, 50%)
HSV hsv(142, 65%, 50%)
HWB hwb(142 18% 50%) color: hwb(142 18% 50%)
OKLCH oklch(0.5358 0.1141 152.64) color: oklch(0.5358 0.1141 152.64)
Lab lab(47.65 -37.47 21.05) color: lab(47.65 -37.47 21.05)
LCH lch(47.65 42.98 150.67) color: lch(47.65 42.98 150.67)

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 4.88:1
vs Black 4.3:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#515259 — rgb(81, 82, 89)

Deuteranopia (Green-blind)

#4C465C — rgb(76, 70, 92)

Tritanopia (Blue-blind)

#316365 — rgb(49, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 48%, 34%);

text

color: hsl(142, 48%, 34%);

border

border: 2px solid hsl(142, 48%, 34%);

gradient light

background: linear-gradient(to right, hsl(142, 48%, 54%), hsl(142, 48%, 34%));

gradient dark

background: linear-gradient(to right, hsl(142, 48%, 34%), hsl(142, 48%, 14%))

hex

background-color: #2D804C;

tailwind

bg-[hsl(142,48%,34%)]

box shadow

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

css variable

--color-primary: hsl(142, 48%, 34%);

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, 48%, 34%)?

HEX: #2D804C | RGB: rgb(45, 128, 76) | CMYK: 65%, 0%, 41%, 50% | HSV: 142°, 65%, 50%. Copy any format from the conversion table above.

What colors go well with #2D804C?

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

As HSL: color: hsl(142, 48%, 34%); — As HEX: color: #2D804C; — As RGB: color: rgb(45, 128, 76); — Tailwind CSS: bg-[hsl(142,48%,34%)] — CSS variable: --color-primary: hsl(142, 48%, 34%);