Skip to content

#afdf6d

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

RGB
175, 223, 109
HSL
85°, 64%, 65%
CMYK
22, 0, 51, 13
Luminance
0.6299

Every format

HEX#afdf6d
RGBrgb(175, 223, 109)
HSLhsl(85, 64%, 65%)
CMYKcmyk(22%, 0%, 51%, 13%)
LABlab(83.4 -33.7 50.4)
LCHlch(83.4 60.6 123.8)
OKLCHoklch(0.846 0.152 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue42.7%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow51.1%
Key (black)12.5%

Color previews

#afdf6d text on a black background

contrast 13.60:1

Card sample

#afdf6d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf6d in the Color Lab