Skip to content

#afda80

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

RGB
175, 218, 128
HSL
89°, 55%, 68%
CMYK
20, 0, 41, 15
Luminance
0.6082

Every format

HEX#afda80
RGBrgb(175, 218, 128)
HSLhsl(89, 55%, 68%)
CMYKcmyk(20%, 0%, 41%, 15%)
LABlab(82.3 -29.2 39.7)
LCHlch(82.3 49.3 126.3)
OKLCHoklch(0.837 0.126 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda80 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afda80 on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue50.2%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow41.3%
Key (black)14.5%

Color previews

#afda80 text on a black background

contrast 13.16:1

Card sample

#afda80 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda80 in the Color Lab