Skip to content

#acf40c

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

RGB
172, 244, 12
HSL
79°, 91%, 50%
CMYK
30, 0, 95, 4
Luminance
0.7350

Every format

HEX#acf40c
RGBrgb(172, 244, 12)
HSLhsl(79, 91%, 50%)
CMYKcmyk(30%, 0%, 95%, 4%)
LABlab(88.7 -49.1 84.8)
LCHlch(88.7 98.0 120.1)
OKLCHoklch(0.886 0.231 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green95.7%
Blue4.7%

CMYK percentages

Cyan29.5%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#acf40c text on a black background

contrast 15.70:1

Card sample

#acf40c text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf40c in the Color Lab