HSL(66, 20%, 56%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(66,20%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(66, 20%, 56%) color: hsl(66, 20%, 56%)
HEX #A1A578 color: #A1A578
RGB rgb(161, 165, 120) color: rgb(161, 165, 120)
CMYK cmyk(2%, 0%, 27%, 35%)
HSV hsv(65, 27%, 65%)
HWB hwb(65 47% 35%) color: hwb(65 47% 35%)
OKLCH oklch(0.7072 0.0622 112.12) color: oklch(0.7072 0.0622 112.12)
Lab lab(66.4 -9 22.92) color: lab(66.4 -9 22.92)
LCH lch(66.4 24.62 111.44) color: lch(66.4 24.62 111.44)

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 2.57:1
vs Black 8.17: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)

#A3A383 — rgb(163, 163, 131)

Deuteranopia (Green-blind)

#A3A286 — rgb(163, 162, 134)

Tritanopia (Blue-blind)

#A18B8D — rgb(161, 139, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(66, 20%, 56%);

text

color: hsl(66, 20%, 56%);

border

border: 2px solid hsl(66, 20%, 56%);

gradient light

background: linear-gradient(to right, hsl(66, 20%, 76%), hsl(66, 20%, 56%));

gradient dark

background: linear-gradient(to right, hsl(66, 20%, 56%), hsl(66, 20%, 36%))

hex

background-color: #A1A578;

tailwind

bg-[hsl(66,20%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(66, 20%, 56%, 0.4);

css variable

--color-primary: hsl(66, 20%, 56%);

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(66, 20%, 56%)?

HEX: #A1A578 | RGB: rgb(161, 165, 120) | CMYK: 2%, 0%, 27%, 35% | HSV: 65°, 27%, 65%. Copy any format from the conversion table above.

What colors go well with #A1A578?

The complementary color is HSL(246, 20%, 56%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(66, 20%, 56%) in CSS?

As HSL: color: hsl(66, 20%, 56%); — As HEX: color: #A1A578; — As RGB: color: rgb(161, 165, 120); — Tailwind CSS: bg-[hsl(66,20%,56%)] — CSS variable: --color-primary: hsl(66, 20%, 56%);