Skip to content

#abf080

a light, electric green · cool · closest name: khaki

RGB
171, 240, 128
HSL
97°, 79%, 72%
CMYK
29, 0, 47, 6
Luminance
0.7254

Every format

HEX#abf080
RGBrgb(171, 240, 128)
HSLhsl(97, 79%, 72%)
CMYKcmyk(29%, 0%, 47%, 6%)
LABlab(88.2 -40.7 47.2)
LCHlch(88.2 62.3 130.8)
OKLCHoklch(0.884 0.160 134.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abf080 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#abf080 on black: 15.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green94.1%
Blue50.2%

CMYK percentages

Cyan28.8%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#abf080 text on a black background

contrast 15.51:1

Card sample

#abf080 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abf080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abf080 in the Color Lab