HSL(77, 12%, 67%)

Grayish Green — Green color

Adjust Color

Color Information

Color Name

Grayish Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(77,12%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(77, 12%, 67%) color: hsl(77, 12%, 67%)
HEX #AFB5A1 color: #AFB5A1
RGB rgb(175, 181, 161) color: rgb(175, 181, 161)
CMYK cmyk(3%, 0%, 11%, 29%)
HSV hsv(78, 11%, 71%)
HWB hwb(78 63% 29%) color: hwb(78 63% 29%)
OKLCH oklch(0.7627 0.0286 120.67) color: oklch(0.7627 0.0286 120.67)
Lab lab(72.72 -5.73 9.48) color: lab(72.72 -5.73 9.48)
LCH lch(72.72 11.08 121.15) color: lch(72.72 11.08 121.15)

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.11:1
vs Black 9.95: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)

#B2B2A6 — rgb(178, 178, 166)

Deuteranopia (Green-blind)

#B1B1A7 — rgb(177, 177, 167)

Tritanopia (Blue-blind)

#AFAAAB — rgb(175, 170, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(77, 12%, 67%);

text

color: hsl(77, 12%, 67%);

border

border: 2px solid hsl(77, 12%, 67%);

gradient light

background: linear-gradient(to right, hsl(77, 12%, 87%), hsl(77, 12%, 67%));

gradient dark

background: linear-gradient(to right, hsl(77, 12%, 67%), hsl(77, 12%, 47%))

hex

background-color: #AFB5A1;

tailwind

bg-[hsl(77,12%,67%)]

box shadow

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

css variable

--color-primary: hsl(77, 12%, 67%);

Related Colors

Use Cases for Grayish Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(77, 12%, 67%)?

HEX: #AFB5A1 | RGB: rgb(175, 181, 161) | CMYK: 3%, 0%, 11%, 29% | HSV: 78°, 11%, 71%. Copy any format from the conversion table above.

What colors go well with #AFB5A1?

The complementary color is HSL(257, 12%, 67%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(77, 12%, 67%) in CSS?

As HSL: color: hsl(77, 12%, 67%); — As HEX: color: #AFB5A1; — As RGB: color: rgb(175, 181, 161); — Tailwind CSS: bg-[hsl(77,12%,67%)] — CSS variable: --color-primary: hsl(77, 12%, 67%);