Skip to content

#acfb21

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

RGB
172, 251, 33
HSL
82°, 97%, 56%
CMYK
32, 0, 87, 2
Luminance
0.7787

Every format

HEX#acfb21
RGBrgb(172, 251, 33)
HSLhsl(82, 97%, 56%)
CMYKcmyk(32%, 0%, 87%, 2%)
LABlab(90.7 -51.6 83.7)
LCHlch(90.7 98.3 121.7)
OKLCHoklch(0.903 0.234 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acfb21 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#acfb21 on black: 16.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green98.4%
Blue12.9%

CMYK percentages

Cyan31.5%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#acfb21 text on a black background

contrast 16.57:1

Card sample

#acfb21 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acfb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acfb21 in the Color Lab