Skip to content

#afbab4

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

RGB
175, 186, 180
HSL
147°, 7%, 71%
CMYK
6, 0, 3, 27
Luminance
0.4753

Every format

HEX#afbab4
RGBrgb(175, 186, 180)
HSLhsl(147, 7%, 71%)
CMYKcmyk(6%, 0%, 3%, 27%)
LABlab(74.5 -5.0 1.7)
LCHlch(74.5 5.2 160.8)
OKLCHoklch(0.778 0.015 162.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue70.6%

CMYK percentages

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

Color previews

#afbab4 text on a black background

contrast 10.51:1

Card sample

#afbab4 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbab4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbab4 in the Color Lab