Skip to content

#abc428

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

RGB
171, 196, 40
HSL
70°, 66%, 46%
CMYK
13, 0, 80, 23
Luminance
0.4829

Every format

HEX#abc428
RGBrgb(171, 196, 40)
HSLhsl(70, 66%, 46%)
CMYKcmyk(13%, 0%, 80%, 23%)
LABlab(75.0 -27.5 68.6)
LCHlch(75.0 73.9 111.8)
OKLCHoklch(0.775 0.171 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc428 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#abc428 on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.9%
Blue15.7%

CMYK percentages

Cyan12.8%
Magenta0.0%
Yellow79.6%
Key (black)23.1%

Color previews

#abc428 text on a black background

contrast 10.66:1

Card sample

#abc428 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 196, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 196, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc428;
background: linear-gradient(135deg, #abc428, #43C428);

Monochromatic scale

Palettes built from #abc428

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc428 in the Color Lab