HSL(128, 40%, 60%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(128,40%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(128, 40%, 60%) color: hsl(128, 40%, 60%)
HEX #70C27B color: #70C27B
RGB rgb(112, 194, 123) color: rgb(112, 194, 123)
CMYK cmyk(42%, 0%, 37%, 24%)
HSV hsv(128, 42%, 76%)
HWB hwb(128 44% 24%) color: hwb(128 44% 24%)
OKLCH oklch(0.7435 0.1295 147.22) color: oklch(0.7435 0.1295 147.22)
Lab lab(71.86 -40.01 28.1) color: lab(71.86 -40.01 28.1)
LCH lch(71.86 48.89 144.92) color: lch(71.86 48.89 144.92)

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

#94948C — rgb(148, 148, 140)

Deuteranopia (Green-blind)

#8F8990 — rgb(143, 137, 144)

Tritanopia (Blue-blind)

#749A9D — rgb(116, 154, 157)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(128, 40%, 60%);

text

color: hsl(128, 40%, 60%);

border

border: 2px solid hsl(128, 40%, 60%);

gradient light

background: linear-gradient(to right, hsl(128, 40%, 80%), hsl(128, 40%, 60%));

gradient dark

background: linear-gradient(to right, hsl(128, 40%, 60%), hsl(128, 40%, 40%))

hex

background-color: #70C27B;

tailwind

bg-[hsl(128,40%,60%)]

box shadow

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

css variable

--color-primary: hsl(128, 40%, 60%);

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(128, 40%, 60%)?

HEX: #70C27B | RGB: rgb(112, 194, 123) | CMYK: 42%, 0%, 37%, 24% | HSV: 128°, 42%, 76%. Copy any format from the conversion table above.

What colors go well with #70C27B?

The complementary color is HSL(308, 40%, 60%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(128, 40%, 60%) in CSS?

As HSL: color: hsl(128, 40%, 60%); — As HEX: color: #70C27B; — As RGB: color: rgb(112, 194, 123); — Tailwind CSS: bg-[hsl(128,40%,60%)] — CSS variable: --color-primary: hsl(128, 40%, 60%);