Skip to content

#afdb5d

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

RGB
175, 219, 93
HSL
81°, 64%, 61%
CMYK
20, 0, 58, 14
Luminance
0.6057

Every format

HEX#afdb5d
RGBrgb(175, 219, 93)
HSLhsl(81, 64%, 61%)
CMYKcmyk(20%, 0%, 58%, 14%)
LABlab(82.2 -33.4 56.1)
LCHlch(82.2 65.3 120.7)
OKLCHoklch(0.835 0.161 125.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.9%
Blue36.5%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow57.5%
Key (black)14.1%

Color previews

#afdb5d text on a black background

contrast 13.11:1

Card sample

#afdb5d text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb5d in the Color Lab