Skip to content

#abf031

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

RGB
171, 240, 49
HSL
82°, 86%, 57%
CMYK
29, 0, 80, 6
Luminance
0.7120

Every format

HEX#abf031
RGBrgb(171, 240, 49)
HSLhsl(82, 86%, 57%)
CMYKcmyk(29%, 0%, 80%, 6%)
LABlab(87.6 -46.9 77.4)
LCHlch(87.6 90.5 121.2)
OKLCHoklch(0.877 0.217 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abf031 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#abf031 on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green94.1%
Blue19.2%

CMYK percentages

Cyan28.8%
Magenta0.0%
Yellow79.6%
Key (black)5.9%

Color previews

#abf031 text on a black background

contrast 15.24:1

Card sample

#abf031 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abf031

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abf031 in the Color Lab