Skip to content

#afdb9d

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

RGB
175, 219, 157
HSL
103°, 46%, 74%
CMYK
20, 0, 28, 14
Luminance
0.6221

Every format

HEX#afdb9d
RGBrgb(175, 219, 157)
HSLhsl(103, 46%, 74%)
CMYKcmyk(20%, 0%, 28%, 14%)
LABlab(83.0 -25.6 25.9)
LCHlch(83.0 36.5 134.7)
OKLCHoklch(0.845 0.096 136.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb9d on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#afdb9d on black: 13.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue61.6%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow28.3%
Key (black)14.1%

Color previews

#afdb9d text on a black background

contrast 13.44:1

Card sample

#afdb9d text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb9d in the Color Lab