Skip to content

#afdf6e

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

RGB
175, 223, 110
HSL
86°, 64%, 65%
CMYK
22, 0, 51, 13
Luminance
0.6302

Every format

HEX#afdf6e
RGBrgb(175, 223, 110)
HSLhsl(86, 64%, 65%)
CMYKcmyk(22%, 0%, 51%, 13%)
LABlab(83.5 -33.6 49.9)
LCHlch(83.5 60.2 124.0)
OKLCHoklch(0.846 0.151 128.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf6e on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#afdf6e on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue43.1%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow50.7%
Key (black)12.5%

Color previews

#afdf6e text on a black background

contrast 13.60:1

Card sample

#afdf6e text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf6e in the Color Lab