Skip to content

#abc02a

a balanced, vivid yellow · cool · closest name: olivedrab

RGB
171, 192, 42
HSL
68°, 64%, 46%
CMYK
11, 0, 78, 25
Luminance
0.4652

Every format

HEX#abc02a
RGBrgb(171, 192, 42)
HSLhsl(68, 64%, 46%)
CMYKcmyk(11%, 0%, 78%, 25%)
LABlab(73.9 -25.5 67.0)
LCHlch(73.9 71.7 110.8)
OKLCHoklch(0.766 0.165 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green75.3%
Blue16.5%

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow78.1%
Key (black)24.7%

Color previews

#abc02a text on a black background

contrast 10.30:1

Card sample

#abc02a text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc02a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc02a in the Color Lab