Skip to content

#afaaaa

a light, muted gray · warm · closest name: silver

RGB
175, 170, 170
HSL
0°, 3%, 68%
CMYK
0, 3, 3, 31
Luminance
0.4077

Every format

HEX#afaaaa
RGBrgb(175, 170, 170)
HSLhsl(0, 3%, 68%)
CMYKcmyk(0%, 3%, 3%, 31%)
LABlab(70.0 1.8 0.6)
LCHlch(70.0 1.9 19.5)
OKLCHoklch(0.742 0.006 17.3)

Copy-ready code

/* CSS */
color: #afaaaa;
background-color: #afaaaa;
/* Tailwind (arbitrary) */
class="text-[#afaaaa] bg-[#afaaaa]"
/* SCSS */
$brand: #afaaaa;
/* SwiftUI */
Color(red: 0.686, green: 0.667, blue: 0.667)
/* Android */
Color.parseColor("#afaaaa")

Accessibility — WCAG contrast

Aa
#afaaaa on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#afaaaa on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow2.9%
Key (black)31.4%

Color previews

#afaaaa text on a black background

contrast 9.15:1

Card sample

#afaaaa text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #afaaaa;
Background color
Panel with #afaaaa background
background-color: #afaaaa;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #afaaaa;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 170, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 170, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaaaa;
background: linear-gradient(135deg, #afaaaa, #AFADAA);

Monochromatic scale

Palettes built from #afaaaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaaaa in the Color Lab