Skip to content

#afd600

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

RGB
175, 214, 0
HSL
71°, 100%, 42%
CMYK
18, 0, 100, 16
Luminance
0.5721

Every format

HEX#afd600
RGBrgb(175, 214, 0)
HSLhsl(71, 100%, 42%)
CMYKcmyk(18%, 0%, 100%, 16%)
LABlab(80.3 -35.1 79.4)
LCHlch(80.3 86.8 113.8)
OKLCHoklch(0.818 0.198 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd600 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#afd600 on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.9%
Blue0.0%

CMYK percentages

Cyan18.2%
Magenta0.0%
Yellow100.0%
Key (black)16.1%

Color previews

#afd600 text on a black background

contrast 12.44:1

Card sample

#afd600 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 214, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 214, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd600;
background: linear-gradient(135deg, #afd600, #20D600);

Monochromatic scale

Palettes built from #afd600

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd600 in the Color Lab