Skip to content

#acf821

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

RGB
172, 248, 33
HSL
81°, 94%, 55%
CMYK
31, 0, 87, 3
Luminance
0.7602

Every format

HEX#acf821
RGBrgb(172, 248, 33)
HSLhsl(81, 94%, 55%)
CMYKcmyk(31%, 0%, 87%, 3%)
LABlab(89.9 -50.4 83.0)
LCHlch(89.9 97.1 121.3)
OKLCHoklch(0.896 0.231 129.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acf821 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#acf821 on black: 16.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green97.3%
Blue12.9%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#acf821 text on a black background

contrast 16.20:1

Card sample

#acf821 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf821 in the Color Lab