Skip to content

#afdf90

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

RGB
175, 223, 144
HSL
97°, 55%, 72%
CMYK
22, 0, 35, 13
Luminance
0.6390

Every format

HEX#afdf90
RGBrgb(175, 223, 144)
HSLhsl(97, 55%, 72%)
CMYKcmyk(22%, 0%, 35%, 13%)
LABlab(83.9 -29.5 33.8)
LCHlch(83.9 44.9 131.1)
OKLCHoklch(0.851 0.116 133.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue56.5%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow35.4%
Key (black)12.5%

Color previews

#afdf90 text on a black background

contrast 13.78:1

Card sample

#afdf90 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf90

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf90 in the Color Lab