Skip to content

#acfd2a

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

RGB
172, 253, 42
HSL
83°, 98%, 58%
CMYK
32, 0, 83, 1
Luminance
0.7919

Every format

HEX#acfd2a
RGBrgb(172, 253, 42)
HSLhsl(83, 98%, 58%)
CMYKcmyk(32%, 0%, 83%, 1%)
LABlab(91.3 -52.2 82.4)
LCHlch(91.3 97.5 122.3)
OKLCHoklch(0.908 0.234 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green99.2%
Blue16.5%

CMYK percentages

Cyan32.0%
Magenta0.0%
Yellow83.4%
Key (black)0.8%

Color previews

#acfd2a text on a black background

contrast 16.84:1

Card sample

#acfd2a text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acfd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acfd2a in the Color Lab