Skip to content

#abcc28

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

RGB
171, 204, 40
HSL
72°, 67%, 48%
CMYK
16, 0, 80, 20
Luminance
0.5200

Every format

HEX#abcc28
RGBrgb(171, 204, 40)
HSLhsl(72, 67%, 48%)
CMYKcmyk(16%, 0%, 80%, 20%)
LABlab(77.3 -31.3 70.6)
LCHlch(77.3 77.2 113.9)
OKLCHoklch(0.793 0.180 121.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green80.0%
Blue15.7%

CMYK percentages

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

Color previews

#abcc28 text on a black background

contrast 11.40:1

Card sample

#abcc28 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc28 in the Color Lab