HSL(126, 20%, 39%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,20%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 20%, 39%) color: hsl(126, 20%, 39%)
HEX #507754 color: #507754
RGB rgb(80, 119, 84) color: rgb(80, 119, 84)
CMYK cmyk(33%, 0%, 29%, 53%)
HSV hsv(126, 33%, 47%)
HWB hwb(126 31% 53%) color: hwb(126 31% 53%)
OKLCH oklch(0.53 0.0699 147.05) color: oklch(0.53 0.0699 147.05)
Lab lab(46.36 -21.47 15) color: lab(46.36 -21.47 15)
LCH lch(46.36 26.19 145.06) color: lch(46.36 26.19 145.06)

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 5.11:1
vs Black 4.11:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#61615C — rgb(97, 97, 92)

Deuteranopia (Green-blind)

#5F5C5F — rgb(95, 92, 95)

Tritanopia (Blue-blind)

#526365 — rgb(82, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 20%, 39%);

text

color: hsl(126, 20%, 39%);

border

border: 2px solid hsl(126, 20%, 39%);

gradient light

background: linear-gradient(to right, hsl(126, 20%, 59%), hsl(126, 20%, 39%));

gradient dark

background: linear-gradient(to right, hsl(126, 20%, 39%), hsl(126, 20%, 19%))

hex

background-color: #507754;

tailwind

bg-[hsl(126,20%,39%)]

box shadow

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

css variable

--color-primary: hsl(126, 20%, 39%);

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(126, 20%, 39%)?

HEX: #507754 | RGB: rgb(80, 119, 84) | CMYK: 33%, 0%, 29%, 53% | HSV: 126°, 33%, 47%. Copy any format from the conversion table above.

What colors go well with #507754?

The complementary color is HSL(306, 20%, 39%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(126, 20%, 39%) in CSS?

As HSL: color: hsl(126, 20%, 39%); — As HEX: color: #507754; — As RGB: color: rgb(80, 119, 84); — Tailwind CSS: bg-[hsl(126,20%,39%)] — CSS variable: --color-primary: hsl(126, 20%, 39%);