HSL(127, 78%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(127,78%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 78%, 40%) color: hsl(127, 78%, 40%)
HEX #16B629 color: #16B629
RGB rgb(22, 182, 41) color: rgb(22, 182, 41)
CMYK cmyk(88%, 0%, 77%, 29%)
HSV hsv(127, 88%, 71%)
HWB hwb(127 9% 29%) color: hwb(127 9% 29%)
OKLCH oklch(0.6756 0.2146 143.74) color: oklch(0.6756 0.2146 143.74)
Lab lab(64.79 -64.02 56.59) color: lab(64.79 -64.02 56.59)
LCH lch(64.79 85.45 138.53) color: lch(64.79 85.45 138.53)

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

#5B5D4B — rgb(91, 93, 75)

Deuteranopia (Green-blind)

#524653 — rgb(82, 70, 83)

Tritanopia (Blue-blind)

#1E666C — rgb(30, 102, 108)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 78%, 40%);

text

color: hsl(127, 78%, 40%);

border

border: 2px solid hsl(127, 78%, 40%);

gradient light

background: linear-gradient(to right, hsl(127, 78%, 60%), hsl(127, 78%, 40%));

gradient dark

background: linear-gradient(to right, hsl(127, 78%, 40%), hsl(127, 78%, 20%))

hex

background-color: #16B629;

tailwind

bg-[hsl(127,78%,40%)]

box shadow

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

css variable

--color-primary: hsl(127, 78%, 40%);

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

HEX: #16B629 | RGB: rgb(22, 182, 41) | CMYK: 88%, 0%, 77%, 29% | HSV: 127°, 88%, 71%. Copy any format from the conversion table above.

What colors go well with #16B629?

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

As HSL: color: hsl(127, 78%, 40%); — As HEX: color: #16B629; — As RGB: color: rgb(22, 182, 41); — Tailwind CSS: bg-[hsl(127,78%,40%)] — CSS variable: --color-primary: hsl(127, 78%, 40%);