Skip to content

#afaaaf

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

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

Every format

HEX#afaaaf
RGBrgb(175, 170, 175)
HSLhsl(300, 3%, 68%)
CMYKcmyk(0%, 3%, 0%, 31%)
LABlab(70.2 2.7 -1.9)
LCHlch(70.2 3.3 324.6)
OKLCHoklch(0.744 0.009 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaaaf on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#afaaaf on black: 9.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue68.6%

CMYK percentages

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

Color previews

#afaaaf text on a black background

contrast 9.19:1

Card sample

#afaaaf text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaaaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaaaf in the Color Lab