Skip to content

#afd976

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

RGB
175, 217, 118
HSL
86°, 57%, 66%
CMYK
19, 0, 46, 15
Luminance
0.6005

Every format

HEX#afd976
RGBrgb(175, 217, 118)
HSLhsl(86, 57%, 66%)
CMYKcmyk(19%, 0%, 46%, 15%)
LABlab(81.9 -29.9 44.1)
LCHlch(81.9 53.3 124.1)
OKLCHoklch(0.833 0.135 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.1%
Blue46.3%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow45.6%
Key (black)14.9%

Color previews

#afd976 text on a black background

contrast 13.01:1

Card sample

#afd976 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd976

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd976 in the Color Lab