Skip to content

#acf22f

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

RGB
172, 242, 47
HSL
82°, 88%, 57%
CMYK
29, 0, 81, 5
Luminance
0.7248

Every format

HEX#acf22f
RGBrgb(172, 242, 47)
HSLhsl(82, 88%, 57%)
CMYKcmyk(29%, 0%, 81%, 5%)
LABlab(88.2 -47.5 78.5)
LCHlch(88.2 91.7 121.2)
OKLCHoklch(0.882 0.219 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acf22f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#acf22f on black: 15.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green94.9%
Blue18.4%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow80.6%
Key (black)5.1%

Color previews

#acf22f text on a black background

contrast 15.50:1

Card sample

#acf22f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf22f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf22f in the Color Lab