Skip to content

#abcf8b

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

RGB
171, 207, 139
HSL
92°, 42%, 68%
CMYK
17, 0, 33, 19
Luminance
0.5515

Every format

HEX#abcf8b
RGBrgb(171, 207, 139)
HSLhsl(92, 42%, 68%)
CMYKcmyk(17%, 0%, 33%, 19%)
LABlab(79.1 -23.9 30.0)
LCHlch(79.1 38.4 128.6)
OKLCHoklch(0.812 0.099 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green81.2%
Blue54.5%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow32.9%
Key (black)18.8%

Color previews

#abcf8b text on a black background

contrast 12.03:1

Card sample

#abcf8b text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf8b in the Color Lab