Skip to content

#abcc40

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

RGB
171, 204, 64
HSL
74°, 58%, 53%
CMYK
16, 0, 69, 20
Luminance
0.5221

Every format

HEX#abcc40
RGBrgb(171, 204, 64)
HSLhsl(74, 58%, 53%)
CMYKcmyk(16%, 0%, 69%, 20%)
LABlab(77.4 -30.1 62.9)
LCHlch(77.4 69.8 115.5)
OKLCHoklch(0.795 0.167 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green80.0%
Blue25.1%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow68.6%
Key (black)20.0%

Color previews

#abcc40 text on a black background

contrast 11.44:1

Card sample

#abcc40 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc40 in the Color Lab