HSL(72, 50%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(72,50%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 50%, 38%) color: hsl(72, 50%, 38%)
HEX #7E9130 color: #7E9130
RGB rgb(126, 145, 48) color: rgb(126, 145, 48)
CMYK cmyk(13%, 0%, 67%, 43%)
HSV hsv(72, 67%, 57%)
HWB hwb(72 19% 43%) color: hwb(72 19% 43%)
OKLCH oklch(0.622 0.1235 119.64) color: oklch(0.622 0.1235 119.64)
Lab lab(56.98 -20.86 47.31) color: lab(56.98 -20.86 47.31)
LCH lch(56.98 51.7 113.79) color: lch(56.98 51.7 113.79)

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 3.51:1
vs Black 5.98: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)

#868647 — rgb(134, 134, 71)

Deuteranopia (Green-blind)

#85844D — rgb(133, 132, 77)

Tritanopia (Blue-blind)

#7F5A5E — rgb(127, 90, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 50%, 38%);

text

color: hsl(72, 50%, 38%);

border

border: 2px solid hsl(72, 50%, 38%);

gradient light

background: linear-gradient(to right, hsl(72, 50%, 58%), hsl(72, 50%, 38%));

gradient dark

background: linear-gradient(to right, hsl(72, 50%, 38%), hsl(72, 50%, 18%))

hex

background-color: #7E9130;

tailwind

bg-[hsl(72,50%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(72, 50%, 38%, 0.4);

css variable

--color-primary: hsl(72, 50%, 38%);

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(72, 50%, 38%)?

HEX: #7E9130 | RGB: rgb(126, 145, 48) | CMYK: 13%, 0%, 67%, 43% | HSV: 72°, 67%, 57%. Copy any format from the conversion table above.

What colors go well with #7E9130?

The complementary color is HSL(252, 50%, 38%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(72, 50%, 38%) in CSS?

As HSL: color: hsl(72, 50%, 38%); — As HEX: color: #7E9130; — As RGB: color: rgb(126, 145, 48); — Tailwind CSS: bg-[hsl(72,50%,38%)] — CSS variable: --color-primary: hsl(72, 50%, 38%);