Skip to content

#afdb3b

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

RGB
175, 219, 59
HSL
77°, 69%, 55%
CMYK
20, 0, 73, 14
Luminance
0.6009

Every format

HEX#afdb3b
RGBrgb(175, 219, 59)
HSLhsl(77, 69%, 55%)
CMYKcmyk(20%, 0%, 73%, 14%)
LABlab(81.9 -35.7 69.2)
LCHlch(81.9 77.9 117.3)
OKLCHoklch(0.832 0.186 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#afdb3b text on a black background

contrast 13.02:1

Card sample

#afdb3b text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb3b in the Color Lab