Skip to content

#afd424

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

RGB
175, 212, 36
HSL
73°, 71%, 49%
CMYK
18, 0, 83, 17
Luminance
0.5633

Every format

HEX#afd424
RGBrgb(175, 212, 36)
HSLhsl(73, 71%, 49%)
CMYKcmyk(18%, 0%, 83%, 17%)
LABlab(79.8 -33.5 73.9)
LCHlch(79.8 81.1 114.4)
OKLCHoklch(0.815 0.189 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd424 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#afd424 on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.1%
Blue14.1%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow83.0%
Key (black)16.9%

Color previews

#afd424 text on a black background

contrast 12.27:1

Card sample

#afd424 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd424

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd424 in the Color Lab