Skip to content

#afdf80

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

RGB
175, 223, 128
HSL
90°, 60%, 69%
CMYK
22, 0, 43, 13
Luminance
0.6345

Every format

HEX#afdf80
RGBrgb(175, 223, 128)
HSLhsl(90, 60%, 69%)
CMYKcmyk(22%, 0%, 43%, 13%)
LABlab(83.7 -31.6 41.5)
LCHlch(83.7 52.2 127.2)
OKLCHoklch(0.848 0.133 130.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green87.5%
Blue50.2%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow42.6%
Key (black)12.5%

Color previews

#afdf80 text on a black background

contrast 13.69:1

Card sample

#afdf80 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdf80 in the Color Lab