HSL(127, 70%, 42%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(127, 70%, 42%) color: hsl(127, 70%, 42%)
HEX #20B632 color: #20B632
RGB rgb(32, 182, 50) color: rgb(32, 182, 50)
CMYK cmyk(82%, 0%, 73%, 29%)
HSV hsv(127, 82%, 71%)
HWB hwb(127 13% 29%) color: hwb(127 13% 29%)
OKLCH oklch(0.6775 0.208 144.1) color: oklch(0.6775 0.208 144.1)
Lab lab(64.96 -62.36 53.65) color: lab(64.96 -62.36 53.65)
LCH lch(64.96 82.26 139.29) color: lch(64.96 82.26 139.29)

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

#616252 — rgb(97, 98, 82)

Deuteranopia (Green-blind)

#584D5A — rgb(88, 77, 90)

Tritanopia (Blue-blind)

#286B71 — rgb(40, 107, 113)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #20B632;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(127, 70%, 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, 70%, 42%)?

HEX: #20B632 | RGB: rgb(32, 182, 50) | CMYK: 82%, 0%, 73%, 29% | HSV: 127°, 82%, 71%. Copy any format from the conversion table above.

What colors go well with #20B632?

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

As HSL: color: hsl(127, 70%, 42%); — As HEX: color: #20B632; — As RGB: color: rgb(32, 182, 50); — Tailwind CSS: bg-[hsl(127,70%,42%)] — CSS variable: --color-primary: hsl(127, 70%, 42%);