HSL(127, 80%, 42%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(127,80%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 80%, 42%) color: hsl(127, 80%, 42%)
HEX #15C129 color: #15C129
RGB rgb(21, 193, 41) color: rgb(21, 193, 41)
CMYK cmyk(89%, 0%, 79%, 24%)
HSV hsv(127, 89%, 76%)
HWB hwb(127 8% 24%) color: hwb(127 8% 24%)
OKLCH oklch(0.7053 0.2261 143.61) color: oklch(0.7053 0.2261 143.61)
Lab lab(68.36 -67.31 60.04) color: lab(68.36 -67.31 60.04)
LCH lch(68.36 90.2 138.27) color: lch(68.36 90.2 138.27)

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.42:1
vs Black 8.69: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)

#5F614E — rgb(95, 97, 78)

Deuteranopia (Green-blind)

#564957 — rgb(86, 73, 87)

Tritanopia (Blue-blind)

#1E6B71 — rgb(30, 107, 113)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 80%, 42%);

text

color: hsl(127, 80%, 42%);

border

border: 2px solid hsl(127, 80%, 42%);

gradient light

background: linear-gradient(to right, hsl(127, 80%, 62%), hsl(127, 80%, 42%));

gradient dark

background: linear-gradient(to right, hsl(127, 80%, 42%), hsl(127, 80%, 22%))

hex

background-color: #15C129;

tailwind

bg-[hsl(127,80%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(127, 80%, 42%, 0.4);

css variable

--color-primary: hsl(127, 80%, 42%);

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(127, 80%, 42%)?

HEX: #15C129 | RGB: rgb(21, 193, 41) | CMYK: 89%, 0%, 79%, 24% | HSV: 127°, 89%, 76%. Copy any format from the conversion table above.

What colors go well with #15C129?

The complementary color is HSL(307, 80%, 42%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(127, 80%, 42%) in CSS?

As HSL: color: hsl(127, 80%, 42%); — As HEX: color: #15C129; — As RGB: color: rgb(21, 193, 41); — Tailwind CSS: bg-[hsl(127,80%,42%)] — CSS variable: --color-primary: hsl(127, 80%, 42%);