Skip to content

#abf80c

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

RGB
171, 248, 12
HSL
80°, 94%, 51%
CMYK
31, 0, 95, 3
Luminance
0.7582

Every format

HEX#abf80c
RGBrgb(171, 248, 12)
HSLhsl(80, 94%, 51%)
CMYKcmyk(31%, 0%, 95%, 3%)
LABlab(89.8 -51.1 85.6)
LCHlch(89.8 99.7 120.9)
OKLCHoklch(0.895 0.235 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green97.3%
Blue4.7%

CMYK percentages

Cyan31.0%
Magenta0.0%
Yellow95.2%
Key (black)2.7%

Color previews

#abf80c text on a black background

contrast 16.16:1

Card sample

#abf80c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abf80c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abf80c in the Color Lab