HSL(81, 77%, 52%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(81,77%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(81, 77%, 52%) color: hsl(81, 77%, 52%)
HEX #A1E326 color: #A1E326
RGB rgb(161, 227, 38) color: rgb(161, 227, 38)
CMYK cmyk(29%, 0%, 83%, 11%)
HSV hsv(81, 83%, 89%)
HWB hwb(81 15% 11%) color: hwb(81 15% 11%)
OKLCH oklch(0.8404 0.2111 128.36) color: oklch(0.8404 0.2111 128.36)
Lab lab(83.26 -45.45 76.09) color: lab(83.26 -45.45 76.09)
LCH lch(83.26 88.63 120.85) color: lch(83.26 88.63 120.85)

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 1.55:1
vs Black 13.53:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#BEBE54 — rgb(190, 190, 84)

Deuteranopia (Green-blind)

#BAB55F — rgb(186, 181, 95)

Tritanopia (Blue-blind)

#A47880 — rgb(164, 120, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(81, 77%, 52%);

text

color: hsl(81, 77%, 52%);

border

border: 2px solid hsl(81, 77%, 52%);

gradient light

background: linear-gradient(to right, hsl(81, 77%, 72%), hsl(81, 77%, 52%));

gradient dark

background: linear-gradient(to right, hsl(81, 77%, 52%), hsl(81, 77%, 32%))

hex

background-color: #A1E326;

tailwind

bg-[hsl(81,77%,52%)]

box shadow

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

css variable

--color-primary: hsl(81, 77%, 52%);

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, 77%, 52%)?

HEX: #A1E326 | RGB: rgb(161, 227, 38) | CMYK: 29%, 0%, 83%, 11% | HSV: 81°, 83%, 89%. Copy any format from the conversion table above.

What colors go well with #A1E326?

The complementary color is HSL(261, 77%, 52%). 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, 77%, 52%) in CSS?

As HSL: color: hsl(81, 77%, 52%); — As HEX: color: #A1E326; — As RGB: color: rgb(161, 227, 38); — Tailwind CSS: bg-[hsl(81,77%,52%)] — CSS variable: --color-primary: hsl(81, 77%, 52%);