Skip to content

#afda9d

a light, vivid green · cool · closest name: khaki

RGB
175, 218, 157
HSL
102°, 45%, 74%
CMYK
20, 0, 28, 15
Luminance
0.6169

Every format

HEX#afda9d
RGBrgb(175, 218, 157)
HSLhsl(102, 45%, 74%)
CMYKcmyk(20%, 0%, 28%, 15%)
LABlab(82.8 -25.2 25.6)
LCHlch(82.8 35.9 134.5)
OKLCHoklch(0.842 0.094 136.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue61.6%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow28.0%
Key (black)14.5%

Color previews

#afda9d text on a black background

contrast 13.34:1

Card sample

#afda9d text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 218, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 218, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afda9d;
background: linear-gradient(135deg, #afda9d, #9DDAB4);

Monochromatic scale

Palettes built from #afda9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda9d in the Color Lab