HSL(142, 20%, 57%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,20%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 20%, 57%) color: hsl(142, 20%, 57%)
HEX #7BA78C color: #7BA78C
RGB rgb(123, 167, 140) color: rgb(123, 167, 140)
CMYK cmyk(26%, 0%, 16%, 35%)
HSV hsv(143, 26%, 65%)
HWB hwb(143 48% 35%) color: hwb(143 48% 35%)
OKLCH oklch(0.6887 0.062 157.39) color: oklch(0.6887 0.062 157.39)
Lab lab(64.76 -20.55 9.22) color: lab(64.76 -20.55 9.22)
LCH lch(64.76 22.52 155.84) color: lch(64.76 22.52 155.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.71:1
vs Black 7.75: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)

#8E8E93 — rgb(142, 142, 147)

Deuteranopia (Green-blind)

#8C8894 — rgb(140, 136, 148)

Tritanopia (Blue-blind)

#7D9899 — rgb(125, 152, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 20%, 57%);

text

color: hsl(142, 20%, 57%);

border

border: 2px solid hsl(142, 20%, 57%);

gradient light

background: linear-gradient(to right, hsl(142, 20%, 77%), hsl(142, 20%, 57%));

gradient dark

background: linear-gradient(to right, hsl(142, 20%, 57%), hsl(142, 20%, 37%))

hex

background-color: #7BA78C;

tailwind

bg-[hsl(142,20%,57%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(142, 20%, 57%, 0.4);

css variable

--color-primary: hsl(142, 20%, 57%);

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(142, 20%, 57%)?

HEX: #7BA78C | RGB: rgb(123, 167, 140) | CMYK: 26%, 0%, 16%, 35% | HSV: 143°, 26%, 65%. Copy any format from the conversion table above.

What colors go well with #7BA78C?

The complementary color is HSL(322, 20%, 57%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(142, 20%, 57%) in CSS?

As HSL: color: hsl(142, 20%, 57%); — As HEX: color: #7BA78C; — As RGB: color: rgb(123, 167, 140); — Tailwind CSS: bg-[hsl(142,20%,57%)] — CSS variable: --color-primary: hsl(142, 20%, 57%);