Skip to content

#abcc1c

a balanced, electric green · cool · closest name: yellow

RGB
171, 204, 28
HSL
71°, 76%, 46%
CMYK
16, 0, 86, 20
Luminance
0.5193

Every format

HEX#abcc1c
RGBrgb(171, 204, 28)
HSLhsl(71, 76%, 46%)
CMYKcmyk(16%, 0%, 86%, 20%)
LABlab(77.2 -31.6 73.3)
LCHlch(77.2 79.9 113.3)
OKLCHoklch(0.793 0.184 120.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green80.0%
Blue11.0%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow86.3%
Key (black)20.0%

Color previews

#abcc1c text on a black background

contrast 11.39:1

Card sample

#abcc1c text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc1c in the Color Lab