Skip to content

#abcb2d

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

RGB
171, 203, 45
HSL
72°, 64%, 49%
CMYK
16, 0, 78, 20
Luminance
0.5156

Every format

HEX#abcb2d
RGBrgb(171, 203, 45)
HSLhsl(72, 64%, 49%)
CMYKcmyk(16%, 0%, 78%, 20%)
LABlab(77.0 -30.6 69.0)
LCHlch(77.0 75.4 113.9)
OKLCHoklch(0.791 0.176 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow77.8%
Key (black)20.4%

Color previews

#abcb2d text on a black background

contrast 11.31:1

Card sample

#abcb2d text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcb2d in the Color Lab