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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);