HSL(22, 5%, 67%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(22,5%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 5%, 67%) | color: hsl(22, 5%, 67%) | |
| HEX | #AFAAA7 | color: #AFAAA7 | |
| RGB | rgb(175, 170, 167) | color: rgb(175, 170, 167) | |
| CMYK | cmyk(0%, 3%, 5%, 31%) | — | |
| HSV | hsv(22, 5%, 69%) | — | |
| HWB | hwb(22 66% 31%) | color: hwb(22 66% 31%) | |
| OKLCH | oklch(0.7413 0.0072 53.41) | color: oklch(0.7413 0.0072 53.41) | |
| Lab | lab(69.93 1.24 2.18) | color: lab(69.93 1.24 2.18) | |
| LCH | lch(69.93 2.51 60.37) | color: lch(69.93 2.51 60.37) |
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)
#ADADA8 — rgb(173, 173, 168)
Deuteranopia (Green-blind)
#ADAEA8 — rgb(173, 174, 168)
Tritanopia (Blue-blind)
#AFA8A8 — rgb(175, 168, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 5%, 67%);
text
color: hsl(22, 5%, 67%);
border
border: 2px solid hsl(22, 5%, 67%);
gradient light
background: linear-gradient(to right, hsl(22, 5%, 87%), hsl(22, 5%, 67%));
gradient dark
background: linear-gradient(to right, hsl(22, 5%, 67%), hsl(22, 5%, 47%))
hex
background-color: #AFAAA7;
tailwind
bg-[hsl(22,5%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 5%, 67%, 0.4);
css variable
--color-primary: hsl(22, 5%, 67%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 5%, 67%)?
HEX: #AFAAA7 | RGB: rgb(175, 170, 167) | CMYK: 0%, 3%, 5%, 31% | HSV: 22°, 5%, 69%. Copy any format from the conversion table above.
What colors go well with #AFAAA7?
The complementary color is HSL(202, 5%, 67%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 5%, 67%) in CSS?
As HSL: color: hsl(22, 5%, 67%); — As HEX: color: #AFAAA7; — As RGB: color: rgb(175, 170, 167); — Tailwind CSS: bg-[hsl(22,5%,67%)] — CSS variable: --color-primary: hsl(22, 5%, 67%);