Skip to content

#acf41f

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

RGB
172, 244, 31
HSL
80°, 91%, 54%
CMYK
30, 0, 87, 4
Luminance
0.7357

Every format

HEX#acf41f
RGBrgb(172, 244, 31)
HSLhsl(80, 91%, 54%)
CMYKcmyk(30%, 0%, 87%, 4%)
LABlab(88.7 -48.8 82.4)
LCHlch(88.7 95.7 120.6)
OKLCHoklch(0.886 0.227 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acf41f on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#acf41f on black: 15.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green95.7%
Blue12.2%

CMYK percentages

Cyan29.5%
Magenta0.0%
Yellow87.3%
Key (black)4.3%

Color previews

#acf41f text on a black background

contrast 15.71:1

Card sample

#acf41f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf41f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf41f in the Color Lab