Skip to content

#afbab1

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

RGB
175, 186, 177
HSL
131°, 7%, 71%
CMYK
6, 0, 5, 27
Luminance
0.4741

Every format

HEX#afbab1
RGBrgb(175, 186, 177)
HSLhsl(131, 7%, 71%)
CMYKcmyk(6%, 0%, 5%, 27%)
LABlab(74.5 -5.5 3.2)
LCHlch(74.5 6.4 149.6)
OKLCHoklch(0.778 0.018 151.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbab1 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#afbab1 on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue69.4%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow4.8%
Key (black)27.1%

Color previews

#afbab1 text on a black background

contrast 10.48:1

Card sample

#afbab1 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab1 in the Color Lab