Skip to content

#abef1f

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

RGB
171, 239, 31
HSL
80°, 87%, 53%
CMYK
29, 0, 87, 6
Luminance
0.7049

Every format

HEX#abef1f
RGBrgb(171, 239, 31)
HSLhsl(80, 87%, 53%)
CMYKcmyk(29%, 0%, 87%, 6%)
LABlab(87.2 -47.1 81.1)
LCHlch(87.2 93.8 120.1)
OKLCHoklch(0.874 0.222 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abef1f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#abef1f on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green93.7%
Blue12.2%

CMYK percentages

Cyan28.5%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#abef1f text on a black background

contrast 15.10:1

Card sample

#abef1f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abef1f in the Color Lab