Skip to content

#afd9b4

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

RGB
175, 217, 180
HSL
127°, 36%, 77%
CMYK
19, 0, 17, 15
Luminance
0.6203

Every format

HEX#afd9b4
RGBrgb(175, 217, 180)
HSLhsl(127, 36%, 77%)
CMYKcmyk(19%, 0%, 17%, 15%)
LABlab(82.9 -20.9 13.8)
LCHlch(82.9 25.0 146.6)
OKLCHoklch(0.845 0.067 148.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd9b4 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#afd9b4 on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.1%
Blue70.6%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow17.1%
Key (black)14.9%

Color previews

#afd9b4 text on a black background

contrast 13.41:1

Card sample

#afd9b4 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd9b4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd9b4 in the Color Lab