Skip to content

#afbab6

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

RGB
175, 186, 182
HSL
158°, 7%, 71%
CMYK
6, 0, 2, 27
Luminance
0.4761

Every format

HEX#afbab6
RGBrgb(175, 186, 182)
HSLhsl(158, 7%, 71%)
CMYKcmyk(6%, 0%, 2%, 27%)
LABlab(74.6 -4.6 0.7)
LCHlch(74.6 4.6 171.2)
OKLCHoklch(0.779 0.013 172.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue71.4%

CMYK percentages

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

Color previews

#afbab6 text on a black background

contrast 10.52:1

Card sample

#afbab6 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab6 in the Color Lab