Skip to content

#afbab0

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

RGB
175, 186, 176
HSL
126°, 7%, 71%
CMYK
6, 0, 5, 27
Luminance
0.4737

Every format

HEX#afbab0
RGBrgb(175, 186, 176)
HSLhsl(126, 7%, 71%)
CMYKcmyk(6%, 0%, 5%, 27%)
LABlab(74.4 -5.7 3.8)
LCHlch(74.4 6.8 146.7)
OKLCHoklch(0.777 0.018 148.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbab0 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#afbab0 on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue69.0%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow5.4%
Key (black)27.1%

Color previews

#afbab0 text on a black background

contrast 10.47:1

Card sample

#afbab0 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab0 in the Color Lab