Skip to content

#abcc47

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

RGB
171, 204, 71
HSL
75°, 57%, 54%
CMYK
16, 0, 65, 20
Luminance
0.5230

Every format

HEX#abcc47
RGBrgb(171, 204, 71)
HSLhsl(75, 57%, 54%)
CMYKcmyk(16%, 0%, 65%, 20%)
LABlab(77.5 -29.6 60.3)
LCHlch(77.5 67.2 116.2)
OKLCHoklch(0.795 0.162 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcc47 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#abcc47 on black: 11.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green80.0%
Blue27.8%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow65.2%
Key (black)20.0%

Color previews

#abcc47 text on a black background

contrast 11.46:1

Card sample

#abcc47 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 204, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 204, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abcc47;
background: linear-gradient(135deg, #abcc47, #52CC47);

Monochromatic scale

Palettes built from #abcc47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcc47 in the Color Lab