Skip to content

#abcb2c

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

RGB
171, 203, 44
HSL
72°, 64%, 48%
CMYK
16, 0, 78, 20
Luminance
0.5155

Every format

HEX#abcb2c
RGBrgb(171, 203, 44)
HSLhsl(72, 64%, 48%)
CMYKcmyk(16%, 0%, 78%, 20%)
LABlab(77.0 -30.6 69.2)
LCHlch(77.0 75.7 113.9)
OKLCHoklch(0.791 0.177 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcb2c on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#abcb2c on black: 11.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green79.6%
Blue17.3%

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow78.3%
Key (black)20.4%

Color previews

#abcb2c text on a black background

contrast 11.31:1

Card sample

#abcb2c text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcb2c in the Color Lab