Skip to content

#abcf81

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

RGB
171, 207, 129
HSL
88°, 45%, 66%
CMYK
17, 0, 38, 19
Luminance
0.5487

Every format

HEX#abcf81
RGBrgb(171, 207, 129)
HSLhsl(88, 45%, 66%)
CMYKcmyk(17%, 0%, 38%, 19%)
LABlab(79.0 -25.3 34.9)
LCHlch(79.0 43.1 125.9)
OKLCHoklch(0.810 0.111 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcf81 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#abcf81 on black: 11.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green81.2%
Blue50.6%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow37.7%
Key (black)18.8%

Color previews

#abcf81 text on a black background

contrast 11.97:1

Card sample

#abcf81 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf81

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf81 in the Color Lab