Skip to content

#afdb39

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

RGB
175, 219, 57
HSL
76°, 69%, 54%
CMYK
20, 0, 74, 14
Luminance
0.6007

Every format

HEX#afdb39
RGBrgb(175, 219, 57)
HSLhsl(76, 69%, 54%)
CMYKcmyk(20%, 0%, 74%, 14%)
LABlab(81.9 -35.8 69.9)
LCHlch(81.9 78.5 117.1)
OKLCHoklch(0.832 0.187 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue22.4%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow74.0%
Key (black)14.1%

Color previews

#afdb39 text on a black background

contrast 13.01:1

Card sample

#afdb39 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb39 in the Color Lab