HSL(81, 55%, 42%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(81,55%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(81, 55%, 42%) color: hsl(81, 55%, 42%)
HEX #7DA630 color: #7DA630
RGB rgb(125, 166, 48) color: rgb(125, 166, 48)
CMYK cmyk(25%, 0%, 71%, 35%)
HSV hsv(81, 71%, 65%)
HWB hwb(81 19% 35%) color: hwb(81 19% 35%)
OKLCH oklch(0.6722 0.1509 126.86) color: oklch(0.6722 0.1509 126.86)
Lab lab(63.21 -31.56 53.69) color: lab(63.21 -31.56 53.69)
LCH lch(63.21 62.28 120.45) color: lch(63.21 62.28 120.45)

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

#8F8F4D — rgb(143, 143, 77)

Deuteranopia (Green-blind)

#8C8953 — rgb(140, 137, 83)

Tritanopia (Blue-blind)

#7F6368 — rgb(127, 99, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(81, 55%, 42%);

text

color: hsl(81, 55%, 42%);

border

border: 2px solid hsl(81, 55%, 42%);

gradient light

background: linear-gradient(to right, hsl(81, 55%, 62%), hsl(81, 55%, 42%));

gradient dark

background: linear-gradient(to right, hsl(81, 55%, 42%), hsl(81, 55%, 22%))

hex

background-color: #7DA630;

tailwind

bg-[hsl(81,55%,42%)]

box shadow

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

css variable

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

HEX: #7DA630 | RGB: rgb(125, 166, 48) | CMYK: 25%, 0%, 71%, 35% | HSV: 81°, 71%, 65%. Copy any format from the conversion table above.

What colors go well with #7DA630?

The complementary color is HSL(261, 55%, 42%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(81, 55%, 42%) in CSS?

As HSL: color: hsl(81, 55%, 42%); — As HEX: color: #7DA630; — As RGB: color: rgb(125, 166, 48); — Tailwind CSS: bg-[hsl(81,55%,42%)] — CSS variable: --color-primary: hsl(81, 55%, 42%);