Skip to content

#afdc9d

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

RGB
175, 220, 157
HSL
103°, 47%, 74%
CMYK
21, 0, 29, 14
Luminance
0.6273

Every format

HEX#afdc9d
RGBrgb(175, 220, 157)
HSLhsl(103, 47%, 74%)
CMYKcmyk(21%, 0%, 29%, 14%)
LABlab(83.3 -26.1 26.3)
LCHlch(83.3 37.1 134.8)
OKLCHoklch(0.847 0.097 136.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdc9d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#afdc9d on black: 13.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green86.3%
Blue61.6%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow28.6%
Key (black)13.7%

Color previews

#afdc9d text on a black background

contrast 13.55:1

Card sample

#afdc9d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdc9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdc9d in the Color Lab