Skip to content

#abc22f

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

RGB
171, 194, 47
HSL
69°, 61%, 47%
CMYK
12, 0, 76, 24
Luminance
0.4745

Every format

HEX#abc22f
RGBrgb(171, 194, 47)
HSLhsl(69, 61%, 47%)
CMYKcmyk(12%, 0%, 76%, 24%)
LABlab(74.5 -26.2 66.0)
LCHlch(74.5 71.0 111.7)
OKLCHoklch(0.771 0.165 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green76.1%
Blue18.4%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow75.8%
Key (black)23.9%

Color previews

#abc22f text on a black background

contrast 10.49:1

Card sample

#abc22f text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc22f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc22f in the Color Lab