Skip to content

#afbab7

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

RGB
175, 186, 183
HSL
164°, 7%, 71%
CMYK
6, 0, 2, 27
Luminance
0.4765

Every format

HEX#afbab7
RGBrgb(175, 186, 183)
HSLhsl(164, 7%, 71%)
CMYKcmyk(6%, 0%, 2%, 27%)
LABlab(74.6 -4.4 0.2)
LCHlch(74.6 4.4 177.4)
OKLCHoklch(0.779 0.013 177.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbab7 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#afbab7 on black: 10.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue71.8%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow1.6%
Key (black)27.1%

Color previews

#afbab7 text on a black background

contrast 10.53:1

Card sample

#afbab7 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab7 in the Color Lab