Skip to content

#acf021

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

RGB
172, 240, 33
HSL
80°, 87%, 54%
CMYK
28, 0, 86, 6
Luminance
0.7120

Every format

HEX#acf021
RGBrgb(172, 240, 33)
HSLhsl(80, 87%, 54%)
CMYKcmyk(28%, 0%, 86%, 6%)
LABlab(87.6 -47.1 81.0)
LCHlch(87.6 93.7 120.1)
OKLCHoklch(0.877 0.222 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acf021 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#acf021 on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan28.3%
Magenta0.0%
Yellow86.3%
Key (black)5.9%

Color previews

#acf021 text on a black background

contrast 15.24:1

Card sample

#acf021 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf021 in the Color Lab