HSL(89, 70%, 29%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(89,70%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(89, 70%, 29%) color: hsl(89, 70%, 29%)
HEX #4C7E16 color: #4C7E16
RGB rgb(76, 126, 22) color: rgb(76, 126, 22)
CMYK cmyk(40%, 0%, 83%, 51%)
HSV hsv(89, 83%, 49%)
HWB hwb(89 8% 51%) color: hwb(89 8% 51%)
OKLCH oklch(0.5374 0.1406 132.73) color: oklch(0.5374 0.1406 132.73)
Lab lab(47.64 -33.76 46.82) color: lab(47.64 -33.76 46.82)
LCH lch(47.64 57.72 125.79) color: lch(47.64 57.72 125.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 4.88:1
vs Black 4.3:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#62622F — rgb(98, 98, 47)

Deuteranopia (Green-blind)

#5F5B35 — rgb(95, 91, 53)

Tritanopia (Blue-blind)

#4F4347 — rgb(79, 67, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(89, 70%, 29%);

text

color: hsl(89, 70%, 29%);

border

border: 2px solid hsl(89, 70%, 29%);

gradient light

background: linear-gradient(to right, hsl(89, 70%, 49%), hsl(89, 70%, 29%));

gradient dark

background: linear-gradient(to right, hsl(89, 70%, 29%), hsl(89, 70%, 9%))

hex

background-color: #4C7E16;

tailwind

bg-[hsl(89,70%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(89, 70%, 29%, 0.4);

css variable

--color-primary: hsl(89, 70%, 29%);

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(89, 70%, 29%)?

HEX: #4C7E16 | RGB: rgb(76, 126, 22) | CMYK: 40%, 0%, 83%, 51% | HSV: 89°, 83%, 49%. Copy any format from the conversion table above.

What colors go well with #4C7E16?

The complementary color is HSL(269, 70%, 29%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(89, 70%, 29%) in CSS?

As HSL: color: hsl(89, 70%, 29%); — As HEX: color: #4C7E16; — As RGB: color: rgb(76, 126, 22); — Tailwind CSS: bg-[hsl(89,70%,29%)] — CSS variable: --color-primary: hsl(89, 70%, 29%);