Skip to content

#abcc0c

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

RGB
171, 204, 12
HSL
70°, 89%, 42%
CMYK
16, 0, 94, 20
Luminance
0.5187

Every format

HEX#abcc0c
RGBrgb(171, 204, 12)
HSLhsl(70, 89%, 42%)
CMYKcmyk(16%, 0%, 94%, 20%)
LABlab(77.2 -31.9 75.8)
LCHlch(77.2 82.2 112.8)
OKLCHoklch(0.793 0.188 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcc0c on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#abcc0c on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green80.0%
Blue4.7%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow94.1%
Key (black)20.0%

Color previews

#abcc0c text on a black background

contrast 11.37:1

Card sample

#abcc0c text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc0c in the Color Lab