Skip to content

#afd32c

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

RGB
175, 211, 44
HSL
73°, 66%, 50%
CMYK
17, 0, 79, 17
Luminance
0.5588

Every format

HEX#afd32c
RGBrgb(175, 211, 44)
HSLhsl(73, 66%, 50%)
CMYKcmyk(17%, 0%, 79%, 17%)
LABlab(79.5 -32.7 71.6)
LCHlch(79.5 78.8 114.6)
OKLCHoklch(0.813 0.184 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd32c on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#afd32c on black: 12.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.7%
Blue17.3%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow79.1%
Key (black)17.3%

Color previews

#afd32c text on a black background

contrast 12.18:1

Card sample

#afd32c text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 211, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 211, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd32c;
background: linear-gradient(135deg, #afd32c, #40D32C);

Monochromatic scale

Palettes built from #afd32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd32c in the Color Lab