HSL(71, 98%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(71,98%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(71, 98%, 21%) color: hsl(71, 98%, 21%)
HEX #576A01 color: #576A01
RGB rgb(87, 106, 1) color: rgb(87, 106, 1)
CMYK cmyk(18%, 0%, 99%, 58%)
HSV hsv(71, 99%, 42%)
HWB hwb(71 0% 58%) color: hwb(71 0% 58%)
OKLCH oklch(0.491 0.1176 121.17) color: oklch(0.491 0.1176 121.17)
Lab lab(41.75 -20.25 47.41) color: lab(41.75 -20.25 47.41)
LCH lch(41.75 51.55 113.13) color: lch(41.75 51.55 113.13)

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.06:1
vs Black 3.47: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)

#5F5F1A — rgb(95, 95, 26)

Deuteranopia (Green-blind)

#5E5D21 — rgb(94, 93, 33)

Tritanopia (Blue-blind)

#582E33 — rgb(88, 46, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(71, 98%, 21%);

text

color: hsl(71, 98%, 21%);

border

border: 2px solid hsl(71, 98%, 21%);

gradient light

background: linear-gradient(to right, hsl(71, 98%, 41%), hsl(71, 98%, 21%));

gradient dark

background: linear-gradient(to right, hsl(71, 98%, 21%), hsl(71, 98%, 1%))

hex

background-color: #576A01;

tailwind

bg-[hsl(71,98%,21%)]

box shadow

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

css variable

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

HEX: #576A01 | RGB: rgb(87, 106, 1) | CMYK: 18%, 0%, 99%, 58% | HSV: 71°, 99%, 42%. Copy any format from the conversion table above.

What colors go well with #576A01?

The complementary color is HSL(251, 98%, 21%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(71, 98%, 21%) in CSS?

As HSL: color: hsl(71, 98%, 21%); — As HEX: color: #576A01; — As RGB: color: rgb(87, 106, 1); — Tailwind CSS: bg-[hsl(71,98%,21%)] — CSS variable: --color-primary: hsl(71, 98%, 21%);