Skip to content

#afbab9

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

RGB
175, 186, 185
HSL
175°, 7%, 71%
CMYK
6, 0, 1, 27
Luminance
0.4773

Every format

HEX#afbab9
RGBrgb(175, 186, 185)
HSLhsl(175, 7%, 71%)
CMYKcmyk(6%, 0%, 1%, 27%)
LABlab(74.7 -4.0 -0.8)
LCHlch(74.7 4.1 191.5)
OKLCHoklch(0.780 0.012 190.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue72.5%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow0.5%
Key (black)27.1%

Color previews

#afbab9 text on a black background

contrast 10.55:1

Card sample

#afbab9 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab9 in the Color Lab