Skip to content

#afdb76

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

RGB
175, 219, 118
HSL
86°, 58%, 66%
CMYK
20, 0, 46, 14
Luminance
0.6109

Every format

HEX#afdb76
RGBrgb(175, 219, 118)
HSLhsl(86, 58%, 66%)
CMYKcmyk(20%, 0%, 46%, 14%)
LABlab(82.4 -30.9 44.8)
LCHlch(82.4 54.4 124.6)
OKLCHoklch(0.838 0.138 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb76 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#afdb76 on black: 13.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.9%
Blue46.3%

CMYK percentages

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

Color previews

#afdb76 text on a black background

contrast 13.22:1

Card sample

#afdb76 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb76

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdb76 in the Color Lab