Skip to content

#abcf2c

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

RGB
171, 207, 44
HSL
73°, 65%, 49%
CMYK
17, 0, 79, 19
Luminance
0.5347

Every format

HEX#abcf2c
RGBrgb(171, 207, 44)
HSLhsl(73, 65%, 49%)
CMYKcmyk(17%, 0%, 79%, 19%)
LABlab(78.2 -32.5 70.3)
LCHlch(78.2 77.4 114.8)
OKLCHoklch(0.801 0.181 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcf2c on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#abcf2c on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green81.2%
Blue17.3%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow78.7%
Key (black)18.8%

Color previews

#abcf2c text on a black background

contrast 11.69:1

Card sample

#abcf2c text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf2c in the Color Lab