Skip to content

#abcc12

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

RGB
171, 204, 18
HSL
71°, 84%, 44%
CMYK
16, 0, 91, 20
Luminance
0.5189

Every format

HEX#abcc12
RGBrgb(171, 204, 18)
HSLhsl(71, 84%, 44%)
CMYKcmyk(16%, 0%, 91%, 20%)
LABlab(77.2 -31.8 75.0)
LCHlch(77.2 81.5 113.0)
OKLCHoklch(0.793 0.187 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green80.0%
Blue7.1%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow91.2%
Key (black)20.0%

Color previews

#abcc12 text on a black background

contrast 11.38:1

Card sample

#abcc12 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcc12

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc12 in the Color Lab