Skip to content

#abc01a

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

RGB
171, 192, 26
HSL
68°, 76%, 43%
CMYK
11, 0, 87, 25
Luminance
0.4643

Every format

HEX#abc01a
RGBrgb(171, 192, 26)
HSLhsl(68, 76%, 43%)
CMYKcmyk(11%, 0%, 87%, 25%)
LABlab(73.8 -26.0 70.9)
LCHlch(73.8 75.5 110.1)
OKLCHoklch(0.765 0.172 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc01a on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#abc01a on black: 10.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green75.3%
Blue10.2%

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow86.5%
Key (black)24.7%

Color previews

#abc01a text on a black background

contrast 10.29:1

Card sample

#abc01a text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc01a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc01a in the Color Lab