Skip to content

#afbab5

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

RGB
175, 186, 181
HSL
153°, 7%, 71%
CMYK
6, 0, 3, 27
Luminance
0.4757

Every format

HEX#afbab5
RGBrgb(175, 186, 181)
HSLhsl(153, 7%, 71%)
CMYKcmyk(6%, 0%, 3%, 27%)
LABlab(74.5 -4.8 1.2)
LCHlch(74.5 4.9 165.6)
OKLCHoklch(0.779 0.014 167.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue71.0%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow2.7%
Key (black)27.1%

Color previews

#afbab5 text on a black background

contrast 10.51:1

Card sample

#afbab5 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab5 in the Color Lab