Skip to content

#abc229

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

RGB
171, 194, 41
HSL
69°, 65%, 46%
CMYK
12, 0, 79, 24
Luminance
0.4740

Every format

HEX#abc229
RGBrgb(171, 194, 41)
HSLhsl(69, 65%, 46%)
CMYKcmyk(12%, 0%, 79%, 24%)
LABlab(74.5 -26.5 67.8)
LCHlch(74.5 72.8 111.3)
OKLCHoklch(0.771 0.168 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc229 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#abc229 on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.1%
Blue16.1%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow78.9%
Key (black)23.9%

Color previews

#abc229 text on a black background

contrast 10.48:1

Card sample

#abc229 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 194, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 194, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc229;
background: linear-gradient(135deg, #abc229, #45C229);

Monochromatic scale

Palettes built from #abc229

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc229 in the Color Lab