Skip to content

#afff2d

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

RGB
175, 255, 45
HSL
83°, 100%, 59%
CMYK
31, 0, 82, 0
Luminance
0.8082

Every format

HEX#afff2d
RGBrgb(175, 255, 45)
HSLhsl(83, 100%, 59%)
CMYKcmyk(31%, 0%, 82%, 0%)
LABlab(92.0 -51.9 82.5)
LCHlch(92.0 97.4 122.2)
OKLCHoklch(0.914 0.233 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green100.0%
Blue17.6%

CMYK percentages

Cyan31.4%
Magenta0.0%
Yellow82.4%
Key (black)0.0%

Color previews

#afff2d text on a black background

contrast 17.16:1

Card sample

#afff2d text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afff2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afff2d in the Color Lab