Skip to content

#afdf9a

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

RGB
175, 223, 154
HSL
102°, 52%, 74%
CMYK
22, 0, 31, 13
Luminance
0.6422

Every format

HEX#afdf9a
RGBrgb(175, 223, 154)
HSLhsl(102, 52%, 74%)
CMYKcmyk(22%, 0%, 31%, 13%)
LABlab(84.1 -28.0 28.9)
LCHlch(84.1 40.3 134.1)
OKLCHoklch(0.853 0.105 136.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdf9a on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#afdf9a on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.5%
Blue60.4%

CMYK percentages

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

Color previews

#afdf9a text on a black background

contrast 13.84:1

Card sample

#afdf9a text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf9a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf9a in the Color Lab