HSL(142, 51%, 34%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(142, 51%, 34%) color: hsl(142, 51%, 34%)
HEX #2A834B color: #2A834B
RGB rgb(42, 131, 75) color: rgb(42, 131, 75)
CMYK cmyk(68%, 0%, 43%, 49%)
HSV hsv(142, 68%, 51%)
HWB hwb(142 16% 49%) color: hwb(142 16% 49%)
OKLCH oklch(0.543 0.1208 152.12) color: oklch(0.543 0.1208 152.12)
Lab lab(48.55 -39.55 22.79) color: lab(48.55 -39.55 22.79)
LCH lch(48.55 45.65 150.05) color: lch(48.55 45.65 150.05)

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.72:1
vs Black 4.45: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)

#515159 — rgb(81, 81, 89)

Deuteranopia (Green-blind)

#4B455C — rgb(75, 69, 92)

Tritanopia (Blue-blind)

#2E6366 — rgb(46, 99, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #2A834B;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(142, 51%, 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, 51%, 34%)?

HEX: #2A834B | RGB: rgb(42, 131, 75) | CMYK: 68%, 0%, 43%, 49% | HSV: 142°, 68%, 51%. Copy any format from the conversion table above.

What colors go well with #2A834B?

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

As HSL: color: hsl(142, 51%, 34%); — As HEX: color: #2A834B; — As RGB: color: rgb(42, 131, 75); — Tailwind CSS: bg-[hsl(142,51%,34%)] — CSS variable: --color-primary: hsl(142, 51%, 34%);