Skip to content

#acfc2f

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

RGB
172, 252, 47
HSL
83°, 97%, 59%
CMYK
32, 0, 81, 1
Luminance
0.7860

Every format

HEX#acfc2f
RGBrgb(172, 252, 47)
HSLhsl(83, 97%, 59%)
CMYKcmyk(32%, 0%, 81%, 1%)
LABlab(91.0 -51.6 81.0)
LCHlch(91.0 96.1 122.5)
OKLCHoklch(0.905 0.231 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acfc2f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#acfc2f on black: 16.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green98.8%
Blue18.4%

CMYK percentages

Cyan31.7%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#acfc2f text on a black background

contrast 16.72:1

Card sample

#acfc2f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acfc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acfc2f in the Color Lab