Skip to content

#afda76

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

RGB
175, 218, 118
HSL
86°, 58%, 66%
CMYK
20, 0, 46, 15
Luminance
0.6056

Every format

HEX#afda76
RGBrgb(175, 218, 118)
HSLhsl(86, 58%, 66%)
CMYKcmyk(20%, 0%, 46%, 15%)
LABlab(82.1 -30.4 44.5)
LCHlch(82.1 53.9 124.3)
OKLCHoklch(0.836 0.137 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue46.3%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow45.9%
Key (black)14.5%

Color previews

#afda76 text on a black background

contrast 13.11:1

Card sample

#afda76 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda76

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda76 in the Color Lab