Skip to content

#afda15

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

RGB
175, 218, 21
HSL
73°, 82%, 47%
CMYK
20, 0, 90, 15
Luminance
0.5931

Every format

HEX#afda15
RGBrgb(175, 218, 21)
HSLhsl(73, 82%, 47%)
CMYKcmyk(20%, 0%, 90%, 15%)
LABlab(81.5 -36.6 78.1)
LCHlch(81.5 86.3 115.1)
OKLCHoklch(0.828 0.199 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.5%
Blue8.2%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow90.4%
Key (black)14.5%

Color previews

#afda15 text on a black background

contrast 12.86:1

Card sample

#afda15 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afda15

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afda15 in the Color Lab