Skip to content

#afdb80

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

RGB
175, 219, 128
HSL
89°, 56%, 68%
CMYK
20, 0, 42, 14
Luminance
0.6134

Every format

HEX#afdb80
RGBrgb(175, 219, 128)
HSLhsl(89, 56%, 68%)
CMYKcmyk(20%, 0%, 42%, 14%)
LABlab(82.6 -29.7 40.1)
LCHlch(82.6 49.9 126.5)
OKLCHoklch(0.839 0.128 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb80 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afdb80 on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue50.2%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow41.6%
Key (black)14.1%

Color previews

#afdb80 text on a black background

contrast 13.27:1

Card sample

#afdb80 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb80 in the Color Lab