Skip to content

#afdb55

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

RGB
175, 219, 85
HSL
80°, 65%, 60%
CMYK
20, 0, 61, 14
Luminance
0.6043

Every format

HEX#afdb55
RGBrgb(175, 219, 85)
HSLhsl(80, 65%, 60%)
CMYKcmyk(20%, 0%, 61%, 14%)
LABlab(82.1 -34.0 59.5)
LCHlch(82.1 68.6 119.8)
OKLCHoklch(0.834 0.168 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb55 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afdb55 on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue33.3%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow61.2%
Key (black)14.1%

Color previews

#afdb55 text on a black background

contrast 13.09:1

Card sample

#afdb55 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb55 in the Color Lab