HSL(127, 63%, 50%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(127,63%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 63%, 50%) color: hsl(127, 63%, 50%)
HEX #2FD042 color: #2FD042
RGB rgb(47, 208, 66) color: rgb(47, 208, 66)
CMYK cmyk(77%, 0%, 68%, 18%)
HSV hsv(127, 77%, 82%)
HWB hwb(127 19% 18%) color: hwb(127 19% 18%)
OKLCH oklch(0.7505 0.2233 144.36) color: oklch(0.7505 0.2233 144.36)
Lab lab(73.61 -67.15 56.66) color: lab(73.61 -67.15 56.66)
LCH lch(73.61 87.86 139.84) color: lch(73.61 87.86 139.84)

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.05:1
vs Black 10.22: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)

#757664 — rgb(117, 118, 100)

Deuteranopia (Green-blind)

#6B5F6D — rgb(107, 95, 109)

Tritanopia (Blue-blind)

#377F85 — rgb(55, 127, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 63%, 50%);

text

color: hsl(127, 63%, 50%);

border

border: 2px solid hsl(127, 63%, 50%);

gradient light

background: linear-gradient(to right, hsl(127, 63%, 70%), hsl(127, 63%, 50%));

gradient dark

background: linear-gradient(to right, hsl(127, 63%, 50%), hsl(127, 63%, 30%))

hex

background-color: #2FD042;

tailwind

bg-[hsl(127,63%,50%)]

box shadow

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

css variable

--color-primary: hsl(127, 63%, 50%);

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, 63%, 50%)?

HEX: #2FD042 | RGB: rgb(47, 208, 66) | CMYK: 77%, 0%, 68%, 18% | HSV: 127°, 77%, 82%. Copy any format from the conversion table above.

What colors go well with #2FD042?

The complementary color is HSL(307, 63%, 50%). 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, 63%, 50%) in CSS?

As HSL: color: hsl(127, 63%, 50%); — As HEX: color: #2FD042; — As RGB: color: rgb(47, 208, 66); — Tailwind CSS: bg-[hsl(127,63%,50%)] — CSS variable: --color-primary: hsl(127, 63%, 50%);