HSL(81, 98%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(81, 98%, 21%) color: hsl(81, 98%, 21%)
HEX #456A01 color: #456A01
RGB rgb(69, 106, 1) color: rgb(69, 106, 1)
CMYK cmyk(35%, 0%, 99%, 58%)
HSV hsv(81, 99%, 42%)
HWB hwb(81 0% 58%) color: hwb(81 0% 58%)
OKLCH oklch(0.4779 0.1273 129.55) color: oklch(0.4779 0.1273 129.55)
Lab lab(40.53 -28.14 45.95) color: lab(40.53 -28.14 45.95)
LCH lch(40.53 53.88 121.48) color: lch(40.53 53.88 121.48)

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.33:1
vs Black 3.32: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)

#55551A — rgb(85, 85, 26)

Deuteranopia (Green-blind)

#535021 — rgb(83, 80, 33)

Tritanopia (Blue-blind)

#472E33 — rgb(71, 46, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #456A01;

tailwind

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

box shadow

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

css variable

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

HEX: #456A01 | RGB: rgb(69, 106, 1) | CMYK: 35%, 0%, 99%, 58% | HSV: 81°, 99%, 42%. Copy any format from the conversion table above.

What colors go well with #456A01?

The complementary color is HSL(261, 98%, 21%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.

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

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