Skip to content

#afdb29

a balanced, vivid green · cool · closest name: yellow

RGB
175, 219, 41
HSL
75°, 71%, 51%
CMYK
20, 0, 81, 14
Luminance
0.5994

Every format

HEX#afdb29
RGBrgb(175, 219, 41)
HSLhsl(75, 71%, 51%)
CMYKcmyk(20%, 0%, 81%, 14%)
LABlab(81.8 -36.5 74.4)
LCHlch(81.8 82.9 116.1)
OKLCHoklch(0.831 0.194 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb29 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#afdb29 on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue16.1%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow81.3%
Key (black)14.1%

Color previews

#afdb29 text on a black background

contrast 12.99:1

Card sample

#afdb29 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb29 in the Color Lab