Skip to content

#afdb41

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

RGB
175, 219, 65
HSL
77°, 68%, 56%
CMYK
20, 0, 70, 14
Luminance
0.6016

Every format

HEX#afdb41
RGBrgb(175, 219, 65)
HSLhsl(77, 68%, 56%)
CMYKcmyk(20%, 0%, 70%, 14%)
LABlab(81.9 -35.4 67.2)
LCHlch(81.9 75.9 117.8)
OKLCHoklch(0.832 0.182 124.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue25.5%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow70.3%
Key (black)14.1%

Color previews

#afdb41 text on a black background

contrast 13.03:1

Card sample

#afdb41 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb41

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb41 in the Color Lab