Skip to content

#afbaa2

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

RGB
175, 186, 162
HSL
88°, 15%, 68%
CMYK
6, 0, 13, 27
Luminance
0.4684

Every format

HEX#afbaa2
RGBrgb(175, 186, 162)
HSLhsl(88, 15%, 68%)
CMYKcmyk(6%, 0%, 13%, 27%)
LABlab(74.1 -8.2 10.9)
LCHlch(74.1 13.6 127.0)
OKLCHoklch(0.774 0.035 127.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbaa2 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#afbaa2 on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue63.5%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow12.9%
Key (black)27.1%

Color previews

#afbaa2 text on a black background

contrast 10.37:1

Card sample

#afbaa2 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbaa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbaa2 in the Color Lab