Skip to content

#acf402

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

RGB
172, 244, 2
HSL
78°, 98%, 48%
CMYK
30, 0, 99, 4
Luminance
0.7348

Every format

HEX#acf402
RGBrgb(172, 244, 2)
HSLhsl(78, 98%, 48%)
CMYKcmyk(30%, 0%, 99%, 4%)
LABlab(88.7 -49.2 85.6)
LCHlch(88.7 98.7 119.9)
OKLCHoklch(0.886 0.232 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acf402 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#acf402 on black: 15.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green95.7%
Blue0.8%

CMYK percentages

Cyan29.5%
Magenta0.0%
Yellow99.2%
Key (black)4.3%

Color previews

#acf402 text on a black background

contrast 15.70:1

Card sample

#acf402 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acf402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf402 in the Color Lab