Skip to content

#afd013

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

RGB
175, 208, 19
HSL
71°, 83%, 45%
CMYK
16, 0, 91, 18
Luminance
0.5427

Every format

HEX#afd013
RGBrgb(175, 208, 19)
HSLhsl(71, 83%, 45%)
CMYKcmyk(16%, 0%, 91%, 18%)
LABlab(78.6 -32.0 76.1)
LCHlch(78.6 82.6 112.8)
OKLCHoklch(0.805 0.189 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green81.6%
Blue7.5%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow90.9%
Key (black)18.4%

Color previews

#afd013 text on a black background

contrast 11.85:1

Card sample

#afd013 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd013

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd013 in the Color Lab