Skip to content

#afff39

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

RGB
175, 255, 57
HSL
84°, 100%, 61%
CMYK
31, 0, 78, 0
Luminance
0.8093

Every format

HEX#afff39
RGBrgb(175, 255, 57)
HSLhsl(84, 100%, 61%)
CMYKcmyk(31%, 0%, 78%, 0%)
LABlab(92.1 -51.4 79.5)
LCHlch(92.1 94.6 122.9)
OKLCHoklch(0.915 0.228 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afff39 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#afff39 on black: 17.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green100.0%
Blue22.4%

CMYK percentages

Cyan31.4%
Magenta0.0%
Yellow77.6%
Key (black)0.0%

Color previews

#afff39 text on a black background

contrast 17.19:1

Card sample

#afff39 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 255, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 255, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afff39;
background: linear-gradient(135deg, #afff39, #39FF47);

Monochromatic scale

Palettes built from #afff39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afff39 in the Color Lab