Skip to content

#acf221

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

RGB
172, 242, 33
HSL
80°, 89%, 54%
CMYK
29, 0, 86, 5
Luminance
0.7238

Every format

HEX#acf221
RGBrgb(172, 242, 33)
HSLhsl(80, 89%, 54%)
CMYKcmyk(29%, 0%, 86%, 5%)
LABlab(88.2 -47.9 81.5)
LCHlch(88.2 94.6 120.4)
OKLCHoklch(0.882 0.224 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green94.9%
Blue12.9%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow86.4%
Key (black)5.1%

Color previews

#acf221 text on a black background

contrast 15.48:1

Card sample

#acf221 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf221

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf221 in the Color Lab