Skip to content

#afd32b

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

RGB
175, 211, 43
HSL
73°, 66%, 50%
CMYK
17, 0, 80, 17
Luminance
0.5588

Every format

HEX#afd32b
RGBrgb(175, 211, 43)
HSLhsl(73, 66%, 50%)
CMYKcmyk(17%, 0%, 80%, 17%)
LABlab(79.5 -32.8 71.9)
LCHlch(79.5 79.0 114.5)
OKLCHoklch(0.813 0.185 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green82.7%
Blue16.9%

CMYK percentages

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

Color previews

#afd32b text on a black background

contrast 12.18:1

Card sample

#afd32b text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd32b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd32b in the Color Lab