HSL(127, 80%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(127, 80%, 45%) color: hsl(127, 80%, 45%)
HEX #17CF2C color: #17CF2C
RGB rgb(23, 207, 44) color: rgb(23, 207, 44)
CMYK cmyk(89%, 0%, 79%, 19%)
HSV hsv(127, 89%, 81%)
HWB hwb(127 9% 19%) color: hwb(127 9% 19%)
OKLCH oklch(0.7431 0.2386 143.58) color: oklch(0.7431 0.2386 143.58)
Lab lab(72.88 -71 63.47) color: lab(72.88 -71 63.47)
LCH lch(72.88 95.23 138.21) color: lch(72.88 95.23 138.21)

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

#676853 — rgb(103, 104, 83)

Deuteranopia (Green-blind)

#5C4E5D — rgb(92, 78, 93)

Tritanopia (Blue-blind)

#207379 — rgb(32, 115, 121)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(127, 80%, 65%), hsl(127, 80%, 45%));

gradient dark

background: linear-gradient(to right, hsl(127, 80%, 45%), hsl(127, 80%, 25%))

hex

background-color: #17CF2C;

tailwind

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

box shadow

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

css variable

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

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

HEX: #17CF2C | RGB: rgb(23, 207, 44) | CMYK: 89%, 0%, 79%, 19% | HSV: 127°, 89%, 81%. Copy any format from the conversion table above.

What colors go well with #17CF2C?

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

As HSL: color: hsl(127, 80%, 45%); — As HEX: color: #17CF2C; — As RGB: color: rgb(23, 207, 44); — Tailwind CSS: bg-[hsl(127,80%,45%)] — CSS variable: --color-primary: hsl(127, 80%, 45%);