Skip to content

#afdb3d

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

RGB
175, 219, 61
HSL
77°, 69%, 55%
CMYK
20, 0, 72, 14
Luminance
0.6011

Every format

HEX#afdb3d
RGBrgb(175, 219, 61)
HSLhsl(77, 69%, 55%)
CMYKcmyk(20%, 0%, 72%, 14%)
LABlab(81.9 -35.6 68.6)
LCHlch(81.9 77.3 117.5)
OKLCHoklch(0.832 0.185 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue23.9%

CMYK percentages

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

Color previews

#afdb3d text on a black background

contrast 13.02:1

Card sample

#afdb3d text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb3d in the Color Lab