Skip to content

#abc52f

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

RGB
171, 197, 47
HSL
70°, 62%, 48%
CMYK
13, 0, 76, 23
Luminance
0.4880

Every format

HEX#abc52f
RGBrgb(171, 197, 47)
HSLhsl(70, 62%, 48%)
CMYKcmyk(13%, 0%, 76%, 23%)
LABlab(75.3 -27.6 66.8)
LCHlch(75.3 72.3 112.5)
OKLCHoklch(0.778 0.169 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc52f on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#abc52f on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green77.3%
Blue18.4%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow76.1%
Key (black)22.7%

Color previews

#abc52f text on a black background

contrast 10.76:1

Card sample

#abc52f text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc52f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc52f in the Color Lab