Skip to content

#abcc2a

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

RGB
171, 204, 42
HSL
72°, 66%, 48%
CMYK
16, 0, 79, 20
Luminance
0.5201

Every format

HEX#abcc2a
RGBrgb(171, 204, 42)
HSLhsl(72, 66%, 48%)
CMYKcmyk(16%, 0%, 79%, 20%)
LABlab(77.3 -31.2 70.0)
LCHlch(77.3 76.7 114.0)
OKLCHoklch(0.794 0.179 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green80.0%
Blue16.5%

CMYK percentages

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

Color previews

#abcc2a text on a black background

contrast 11.40:1

Card sample

#abcc2a text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc2a in the Color Lab