Skip to content

#afdb22

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

RGB
175, 219, 34
HSL
74°, 73%, 50%
CMYK
20, 0, 85, 14
Luminance
0.5989

Every format

HEX#afdb22
RGBrgb(175, 219, 34)
HSLhsl(74, 73%, 50%)
CMYKcmyk(20%, 0%, 85%, 14%)
LABlab(81.8 -36.7 76.0)
LCHlch(81.8 84.4 115.8)
OKLCHoklch(0.831 0.197 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue13.3%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow84.5%
Key (black)14.1%

Color previews

#afdb22 text on a black background

contrast 12.98:1

Card sample

#afdb22 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb22 in the Color Lab