Skip to content

#afbaaa

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

RGB
175, 186, 170
HSL
101°, 10%, 70%
CMYK
6, 0, 9, 27
Luminance
0.4713

Every format

HEX#afbaaa
RGBrgb(175, 186, 170)
HSLhsl(101, 10%, 70%)
CMYKcmyk(6%, 0%, 9%, 27%)
LABlab(74.3 -6.8 6.8)
LCHlch(74.3 9.6 135.0)
OKLCHoklch(0.776 0.025 135.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue66.7%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow8.6%
Key (black)27.1%

Color previews

#afbaaa text on a black background

contrast 10.43:1

Card sample

#afbaaa text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbaaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbaaa in the Color Lab