Skip to content

#afb2aa

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

RGB
175, 178, 170
HSL
83°, 5%, 68%
CMYK
2, 0, 5, 30
Luminance
0.4386

Every format

HEX#afb2aa
RGBrgb(175, 178, 170)
HSLhsl(83, 5%, 68%)
CMYKcmyk(2%, 0%, 5%, 30%)
LABlab(72.1 -2.5 3.7)
LCHlch(72.1 4.5 124.4)
OKLCHoklch(0.759 0.012 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2aa on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#afb2aa on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue66.7%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow4.5%
Key (black)30.2%

Color previews

#afb2aa text on a black background

contrast 9.77:1

Card sample

#afb2aa text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2aa in the Color Lab