Skip to content

#afdb79

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

RGB
175, 219, 121
HSL
87°, 58%, 67%
CMYK
20, 0, 45, 14
Luminance
0.6116

Every format

HEX#afdb79
RGBrgb(175, 219, 121)
HSLhsl(87, 58%, 67%)
CMYKcmyk(20%, 0%, 45%, 14%)
LABlab(82.5 -30.5 43.4)
LCHlch(82.5 53.1 125.1)
OKLCHoklch(0.838 0.135 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb79 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#afdb79 on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue47.5%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow44.7%
Key (black)14.1%

Color previews

#afdb79 text on a black background

contrast 13.23:1

Card sample

#afdb79 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb79 in the Color Lab