Skip to content

#abcc2c

a balanced, vivid green · cool · closest name: olivedrab

RGB
171, 204, 44
HSL
72°, 65%, 49%
CMYK
16, 0, 78, 20
Luminance
0.5203

Every format

HEX#abcc2c
RGBrgb(171, 204, 44)
HSLhsl(72, 65%, 49%)
CMYKcmyk(16%, 0%, 78%, 20%)
LABlab(77.3 -31.1 69.5)
LCHlch(77.3 76.1 114.1)
OKLCHoklch(0.794 0.178 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcc2c on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#abcc2c on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green80.0%
Blue17.3%

CMYK percentages

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

Color previews

#abcc2c text on a black background

contrast 11.41:1

Card sample

#abcc2c text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc2c in the Color Lab