Skip to content

#abcb2f

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

RGB
171, 203, 47
HSL
72°, 62%, 49%
CMYK
16, 0, 77, 20
Luminance
0.5158

Every format

HEX#abcb2f
RGBrgb(171, 203, 47)
HSLhsl(72, 62%, 49%)
CMYKcmyk(16%, 0%, 77%, 20%)
LABlab(77.0 -30.5 68.4)
LCHlch(77.0 74.9 114.0)
OKLCHoklch(0.792 0.175 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green79.6%
Blue18.4%

CMYK percentages

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

Color previews

#abcb2f text on a black background

contrast 11.32:1

Card sample

#abcb2f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcb2f in the Color Lab