Skip to content

#abcf0c

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

RGB
171, 207, 12
HSL
71°, 89%, 43%
CMYK
17, 0, 94, 19
Luminance
0.5331

Every format

HEX#abcf0c
RGBrgb(171, 207, 12)
HSLhsl(71, 89%, 43%)
CMYKcmyk(17%, 0%, 94%, 19%)
LABlab(78.1 -33.3 76.4)
LCHlch(78.1 83.4 113.6)
OKLCHoklch(0.800 0.191 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcf0c on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#abcf0c on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green81.2%
Blue4.7%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow94.2%
Key (black)18.8%

Color previews

#abcf0c text on a black background

contrast 11.66:1

Card sample

#abcf0c text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf0c in the Color Lab