Skip to content

#abfc2f

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

RGB
171, 252, 47
HSL
84°, 97%, 59%
CMYK
32, 0, 81, 1
Luminance
0.7848

Every format

HEX#abfc2f
RGBrgb(171, 252, 47)
HSLhsl(84, 97%, 59%)
CMYKcmyk(32%, 0%, 81%, 1%)
LABlab(91.0 -52.0 81.0)
LCHlch(91.0 96.2 122.7)
OKLCHoklch(0.905 0.231 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abfc2f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#abfc2f on black: 16.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green98.8%
Blue18.4%

CMYK percentages

Cyan32.1%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#abfc2f text on a black background

contrast 16.70:1

Card sample

#abfc2f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abfc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abfc2f in the Color Lab