HSL(130, 51%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(130,51%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(130, 51%, 51%) color: hsl(130, 51%, 51%)
HEX #42C258 color: #42C258
RGB rgb(66, 194, 88) color: rgb(66, 194, 88)
CMYK cmyk(66%, 0%, 55%, 24%)
HSV hsv(130, 66%, 76%)
HWB hwb(130 26% 24%) color: hwb(130 26% 24%)
OKLCH oklch(0.7205 0.1845 146.32) color: oklch(0.7205 0.1845 146.32)
Lab lab(69.78 -56.84 42.79) color: lab(69.78 -56.84 42.79)
LCH lch(69.78 71.15 143.03) color: lch(69.78 71.15 143.03)

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 2.31:1
vs Black 9.09: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)

#797B72 — rgb(121, 123, 114)

Deuteranopia (Green-blind)

#726878 — rgb(114, 104, 120)

Tritanopia (Blue-blind)

#48868A — rgb(72, 134, 138)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(130, 51%, 51%);

text

color: hsl(130, 51%, 51%);

border

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

gradient light

background: linear-gradient(to right, hsl(130, 51%, 71%), hsl(130, 51%, 51%));

gradient dark

background: linear-gradient(to right, hsl(130, 51%, 51%), hsl(130, 51%, 31%))

hex

background-color: #42C258;

tailwind

bg-[hsl(130,51%,51%)]

box shadow

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

css variable

--color-primary: hsl(130, 51%, 51%);

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(130, 51%, 51%)?

HEX: #42C258 | RGB: rgb(66, 194, 88) | CMYK: 66%, 0%, 55%, 24% | HSV: 130°, 66%, 76%. Copy any format from the conversion table above.

What colors go well with #42C258?

The complementary color is HSL(310, 51%, 51%). For a triadic harmony, use hues 130°, 250°, and 10°. For analogous combinations, try hues 100° and 160°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(130, 51%, 51%) in CSS?

As HSL: color: hsl(130, 51%, 51%); — As HEX: color: #42C258; — As RGB: color: rgb(66, 194, 88); — Tailwind CSS: bg-[hsl(130,51%,51%)] — CSS variable: --color-primary: hsl(130, 51%, 51%);