Skip to content

#afd22d

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

RGB
175, 210, 45
HSL
73°, 65%, 50%
CMYK
17, 0, 79, 18
Luminance
0.5540

Every format

HEX#afd22d
RGBrgb(175, 210, 45)
HSLhsl(73, 65%, 50%)
CMYKcmyk(17%, 0%, 79%, 18%)
LABlab(79.3 -32.2 71.1)
LCHlch(79.3 78.1 114.4)
OKLCHoklch(0.810 0.182 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd22d on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#afd22d on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue17.6%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow78.6%
Key (black)17.6%

Color previews

#afd22d text on a black background

contrast 12.08:1

Card sample

#afd22d text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd22d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd22d in the Color Lab