Skip to content

#afda03

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

RGB
175, 218, 3
HSL
72°, 97%, 43%
CMYK
20, 0, 99, 15
Luminance
0.5926

Every format

HEX#afda03
RGBrgb(175, 218, 3)
HSLhsl(72, 97%, 43%)
CMYKcmyk(20%, 0%, 99%, 15%)
LABlab(81.4 -36.8 80.0)
LCHlch(81.4 88.1 114.7)
OKLCHoklch(0.828 0.202 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda03 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#afda03 on black: 12.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue1.2%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow98.6%
Key (black)14.5%

Color previews

#afda03 text on a black background

contrast 12.85:1

Card sample

#afda03 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda03

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda03 in the Color Lab