Skip to content

#afdfb9

a light, soft green · cool · closest name: beige

RGB
175, 223, 185
HSL
133°, 43%, 78%
CMYK
22, 0, 17, 13
Luminance
0.6539

Every format

HEX#afdfb9
RGBrgb(175, 223, 185)
HSLhsl(133, 43%, 78%)
CMYKcmyk(22%, 0%, 17%, 13%)
LABlab(84.7 -22.9 13.6)
LCHlch(84.7 26.6 149.3)
OKLCHoklch(0.860 0.072 150.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdfb9 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#afdfb9 on black: 14.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue72.5%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow17.0%
Key (black)12.5%

Color previews

#afdfb9 text on a black background

contrast 14.08:1

Card sample

#afdfb9 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdfb9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdfb9 in the Color Lab