Skip to content

#afdb33

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

RGB
175, 219, 51
HSL
76°, 70%, 53%
CMYK
20, 0, 77, 14
Luminance
0.6002

Every format

HEX#afdb33
RGBrgb(175, 219, 51)
HSLhsl(76, 70%, 53%)
CMYKcmyk(20%, 0%, 77%, 14%)
LABlab(81.8 -36.1 71.7)
LCHlch(81.8 80.3 116.7)
OKLCHoklch(0.831 0.190 123.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb33 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#afdb33 on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue20.0%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow76.7%
Key (black)14.1%

Color previews

#afdb33 text on a black background

contrast 13.00:1

Card sample

#afdb33 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb33 in the Color Lab