Skip to content

#acfd0c

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

RGB
172, 253, 12
HSL
80°, 98%, 52%
CMYK
32, 0, 95, 1
Luminance
0.7905

Every format

HEX#acfd0c
RGBrgb(172, 253, 12)
HSLhsl(80, 98%, 52%)
CMYKcmyk(32%, 0%, 95%, 1%)
LABlab(91.3 -52.8 86.8)
LCHlch(91.3 101.6 121.3)
OKLCHoklch(0.907 0.240 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acfd0c on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#acfd0c on black: 16.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green99.2%
Blue4.7%

CMYK percentages

Cyan32.0%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#acfd0c text on a black background

contrast 16.81:1

Card sample

#acfd0c text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acfd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acfd0c in the Color Lab