Skip to content

#afdf89

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

RGB
175, 223, 137
HSL
94°, 57%, 71%
CMYK
22, 0, 39, 13
Luminance
0.6370

Every format

HEX#afdf89
RGBrgb(175, 223, 137)
HSLhsl(94, 57%, 71%)
CMYKcmyk(22%, 0%, 39%, 13%)
LABlab(83.8 -30.4 37.2)
LCHlch(83.8 48.1 129.3)
OKLCHoklch(0.850 0.124 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf89 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#afdf89 on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue53.7%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow38.6%
Key (black)12.5%

Color previews

#afdf89 text on a black background

contrast 13.74:1

Card sample

#afdf89 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf89 in the Color Lab