Skip to content

#afdf86

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

RGB
175, 223, 134
HSL
92°, 58%, 70%
CMYK
22, 0, 40, 13
Luminance
0.6361

Every format

HEX#afdf86
RGBrgb(175, 223, 134)
HSLhsl(92, 58%, 70%)
CMYKcmyk(22%, 0%, 40%, 13%)
LABlab(83.8 -30.8 38.6)
LCHlch(83.8 49.4 128.6)
OKLCHoklch(0.849 0.127 131.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue52.5%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow39.9%
Key (black)12.5%

Color previews

#afdf86 text on a black background

contrast 13.72:1

Card sample

#afdf86 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf86 in the Color Lab