Skip to content

#abcc8c

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

RGB
171, 204, 140
HSL
91°, 39%, 68%
CMYK
16, 0, 31, 20
Luminance
0.5374

Every format

HEX#abcc8c
RGBrgb(171, 204, 140)
HSLhsl(91, 39%, 68%)
CMYKcmyk(16%, 0%, 31%, 20%)
LABlab(78.3 -22.3 28.4)
LCHlch(78.3 36.1 128.2)
OKLCHoklch(0.805 0.093 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcc8c on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#abcc8c on black: 11.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green80.0%
Blue54.9%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow31.4%
Key (black)20.0%

Color previews

#abcc8c text on a black background

contrast 11.75:1

Card sample

#abcc8c text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc8c in the Color Lab