HSL(72, 74%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(72,74%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 74%, 21%) color: hsl(72, 74%, 21%)
HEX #4D5D0E color: #4D5D0E
RGB rgb(77, 93, 14) color: rgb(77, 93, 14)
CMYK cmyk(17%, 0%, 85%, 64%)
HSV hsv(72, 85%, 36%)
HWB hwb(72 5% 64%) color: hwb(72 5% 64%)
OKLCH oklch(0.4493 0.1008 121.07) color: oklch(0.4493 0.1008 121.07)
Lab lab(36.81 -17.53 39.5) color: lab(36.81 -17.53 39.5)
LCH lch(36.81 43.22 113.93) color: lch(36.81 43.22 113.93)

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 7.27:1
vs Black 2.89:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#545421 — rgb(84, 84, 33)

Deuteranopia (Green-blind)

#535226 — rgb(83, 82, 38)

Tritanopia (Blue-blind)

#4E3034 — rgb(78, 48, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 74%, 21%);

text

color: hsl(72, 74%, 21%);

border

border: 2px solid hsl(72, 74%, 21%);

gradient light

background: linear-gradient(to right, hsl(72, 74%, 41%), hsl(72, 74%, 21%));

gradient dark

background: linear-gradient(to right, hsl(72, 74%, 21%), hsl(72, 74%, 1%))

hex

background-color: #4D5D0E;

tailwind

bg-[hsl(72,74%,21%)]

box shadow

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

css variable

--color-primary: hsl(72, 74%, 21%);

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, 74%, 21%)?

HEX: #4D5D0E | RGB: rgb(77, 93, 14) | CMYK: 17%, 0%, 85%, 64% | HSV: 72°, 85%, 36%. Copy any format from the conversion table above.

What colors go well with #4D5D0E?

The complementary color is HSL(252, 74%, 21%). 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, 74%, 21%) in CSS?

As HSL: color: hsl(72, 74%, 21%); — As HEX: color: #4D5D0E; — As RGB: color: rgb(77, 93, 14); — Tailwind CSS: bg-[hsl(72,74%,21%)] — CSS variable: --color-primary: hsl(72, 74%, 21%);