HSL(139, 25%, 42%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(139,25%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(139, 25%, 42%) color: hsl(139, 25%, 42%)
HEX #508661 color: #508661
RGB rgb(80, 134, 97) color: rgb(80, 134, 97)
CMYK cmyk(40%, 0%, 28%, 47%)
HSV hsv(139, 40%, 53%)
HWB hwb(139 32% 47%) color: hwb(139 32% 47%)
OKLCH oklch(0.5717 0.0815 153.23) color: oklch(0.5717 0.0815 153.23)
Lab lab(51.4 -26.53 14.42) color: lab(51.4 -26.53 14.42)
LCH lch(51.4 30.2 151.47) color: lch(51.4 30.2 151.47)

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 4.27:1
vs Black 4.92:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#67686A — rgb(103, 104, 106)

Deuteranopia (Green-blind)

#64606C — rgb(100, 96, 108)

Tritanopia (Blue-blind)

#537173 — rgb(83, 113, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(139, 25%, 42%);

text

color: hsl(139, 25%, 42%);

border

border: 2px solid hsl(139, 25%, 42%);

gradient light

background: linear-gradient(to right, hsl(139, 25%, 62%), hsl(139, 25%, 42%));

gradient dark

background: linear-gradient(to right, hsl(139, 25%, 42%), hsl(139, 25%, 22%))

hex

background-color: #508661;

tailwind

bg-[hsl(139,25%,42%)]

box shadow

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

css variable

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

HEX: #508661 | RGB: rgb(80, 134, 97) | CMYK: 40%, 0%, 28%, 47% | HSV: 139°, 40%, 53%. Copy any format from the conversion table above.

What colors go well with #508661?

The complementary color is HSL(319, 25%, 42%). For a triadic harmony, use hues 139°, 259°, and 19°. For analogous combinations, try hues 109° and 169°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(139, 25%, 42%) in CSS?

As HSL: color: hsl(139, 25%, 42%); — As HEX: color: #508661; — As RGB: color: rgb(80, 134, 97); — Tailwind CSS: bg-[hsl(139,25%,42%)] — CSS variable: --color-primary: hsl(139, 25%, 42%);