Skip to content

#abd40c

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

RGB
171, 212, 12
HSL
72°, 89%, 44%
CMYK
19, 0, 94, 17
Luminance
0.5577

Every format

HEX#abd40c
RGBrgb(171, 212, 12)
HSLhsl(72, 89%, 44%)
CMYKcmyk(19%, 0%, 94%, 17%)
LABlab(79.5 -35.6 77.6)
LCHlch(79.5 85.3 114.7)
OKLCHoklch(0.811 0.196 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abd40c on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#abd40c on black: 12.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green83.1%
Blue4.7%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow94.3%
Key (black)16.9%

Color previews

#abd40c text on a black background

contrast 12.15:1

Card sample

#abd40c text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 212, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 212, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abd40c;
background: linear-gradient(135deg, #abd40c, #26D40C);

Monochromatic scale

Palettes built from #abd40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abd40c in the Color Lab