Skip to content

#acfd31

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

RGB
172, 253, 49
HSL
84°, 98%, 59%
CMYK
32, 0, 81, 1
Luminance
0.7924

Every format

HEX#acfd31
RGBrgb(172, 253, 49)
HSLhsl(84, 98%, 59%)
CMYKcmyk(32%, 0%, 81%, 1%)
LABlab(91.3 -51.9 80.8)
LCHlch(91.3 96.1 122.7)
OKLCHoklch(0.908 0.231 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acfd31 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#acfd31 on black: 16.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green99.2%
Blue19.2%

CMYK percentages

Cyan32.0%
Magenta0.0%
Yellow80.6%
Key (black)0.8%

Color previews

#acfd31 text on a black background

contrast 16.85:1

Card sample

#acfd31 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 253, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 253, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acfd31;
background: linear-gradient(135deg, #acfd31, #31FD3E);

Monochromatic scale

Palettes built from #acfd31

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acfd31 in the Color Lab