HSL(126, 26%, 43%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,26%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 26%, 43%) color: hsl(126, 26%, 43%)
HEX #518A57 color: #518A57
RGB rgb(81, 138, 87) color: rgb(81, 138, 87)
CMYK cmyk(41%, 0%, 37%, 46%)
HSV hsv(126, 41%, 54%)
HWB hwb(126 32% 46%) color: hwb(126 32% 46%)
OKLCH oklch(0.5803 0.098 146.59) color: oklch(0.5803 0.098 146.59)
Lab lab(52.52 -30.04 21.61) color: lab(52.52 -30.04 21.61)
LCH lch(52.52 37.01 144.27) color: lch(52.52 37.01 144.27)

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

#6A6A63 — rgb(106, 106, 99)

Deuteranopia (Green-blind)

#666266 — rgb(102, 98, 102)

Tritanopia (Blue-blind)

#546D6F — rgb(84, 109, 111)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 26%, 43%);

text

color: hsl(126, 26%, 43%);

border

border: 2px solid hsl(126, 26%, 43%);

gradient light

background: linear-gradient(to right, hsl(126, 26%, 63%), hsl(126, 26%, 43%));

gradient dark

background: linear-gradient(to right, hsl(126, 26%, 43%), hsl(126, 26%, 23%))

hex

background-color: #518A57;

tailwind

bg-[hsl(126,26%,43%)]

box shadow

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

css variable

--color-primary: hsl(126, 26%, 43%);

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, 26%, 43%)?

HEX: #518A57 | RGB: rgb(81, 138, 87) | CMYK: 41%, 0%, 37%, 46% | HSV: 126°, 41%, 54%. Copy any format from the conversion table above.

What colors go well with #518A57?

The complementary color is HSL(306, 26%, 43%). 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, 26%, 43%) in CSS?

As HSL: color: hsl(126, 26%, 43%); — As HEX: color: #518A57; — As RGB: color: rgb(81, 138, 87); — Tailwind CSS: bg-[hsl(126,26%,43%)] — CSS variable: --color-primary: hsl(126, 26%, 43%);