Skip to content

#afd010

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

RGB
175, 208, 16
HSL
70°, 86%, 44%
CMYK
16, 0, 92, 18
Luminance
0.5426

Every format

HEX#afd010
RGBrgb(175, 208, 16)
HSLhsl(70, 86%, 44%)
CMYKcmyk(16%, 0%, 92%, 18%)
LABlab(78.6 -32.1 76.5)
LCHlch(78.6 83.0 112.8)
OKLCHoklch(0.805 0.190 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd010 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#afd010 on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue6.3%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow92.3%
Key (black)18.4%

Color previews

#afd010 text on a black background

contrast 11.85:1

Card sample

#afd010 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 208, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 208, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd010;
background: linear-gradient(135deg, #afd010, #2FD010);

Monochromatic scale

Palettes built from #afd010

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd010 in the Color Lab