HSL(76, 99%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(76,99%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(76, 99%, 21%) color: hsl(76, 99%, 21%)
HEX #4E6B01 color: #4E6B01
RGB rgb(78, 107, 1) color: rgb(78, 107, 1)
CMYK cmyk(27%, 0%, 99%, 58%)
HSV hsv(76, 99%, 42%)
HWB hwb(76 0% 58%) color: hwb(76 0% 58%)
OKLCH oklch(0.4868 0.1235 126.02) color: oklch(0.4868 0.1235 126.02)
Lab lab(41.43 -24.8 46.89) color: lab(41.43 -24.8 46.89)
LCH lch(41.43 53.04 117.87) color: lch(41.43 53.04 117.87)

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 6.13:1
vs Black 3.43: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)

#5B5B1B — rgb(91, 91, 27)

Deuteranopia (Green-blind)

#595721 — rgb(89, 87, 33)

Tritanopia (Blue-blind)

#4F2F33 — rgb(79, 47, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(76, 99%, 21%);

text

color: hsl(76, 99%, 21%);

border

border: 2px solid hsl(76, 99%, 21%);

gradient light

background: linear-gradient(to right, hsl(76, 99%, 41%), hsl(76, 99%, 21%));

gradient dark

background: linear-gradient(to right, hsl(76, 99%, 21%), hsl(76, 99%, 1%))

hex

background-color: #4E6B01;

tailwind

bg-[hsl(76,99%,21%)]

box shadow

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

css variable

--color-primary: hsl(76, 99%, 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(76, 99%, 21%)?

HEX: #4E6B01 | RGB: rgb(78, 107, 1) | CMYK: 27%, 0%, 99%, 58% | HSV: 76°, 99%, 42%. Copy any format from the conversion table above.

What colors go well with #4E6B01?

The complementary color is HSL(256, 99%, 21%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(76, 99%, 21%) in CSS?

As HSL: color: hsl(76, 99%, 21%); — As HEX: color: #4E6B01; — As RGB: color: rgb(78, 107, 1); — Tailwind CSS: bg-[hsl(76,99%,21%)] — CSS variable: --color-primary: hsl(76, 99%, 21%);