Skip to content

#afd80d

a dark, electric green · cool · closest name: yellow

RGB
175, 216, 13
HSL
72°, 89%, 45%
CMYK
19, 0, 94, 15
Luminance
0.5825

Every format

HEX#afd80d
RGBrgb(175, 216, 13)
HSLhsl(72, 89%, 45%)
CMYKcmyk(19%, 0%, 94%, 15%)
LABlab(80.9 -35.8 78.7)
LCHlch(80.9 86.4 114.5)
OKLCHoklch(0.823 0.199 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd80d on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#afd80d on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green84.7%
Blue5.1%

CMYK percentages

Cyan19.0%
Magenta0.0%
Yellow94.0%
Key (black)15.3%

Color previews

#afd80d text on a black background

contrast 12.65:1

Card sample

#afd80d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 216, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 216, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd80d;
background: linear-gradient(135deg, #afd80d, #28D80D);

Monochromatic scale

Palettes built from #afd80d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd80d in the Color Lab