Skip to content

#abcf2f

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

RGB
171, 207, 47
HSL
74°, 63%, 50%
CMYK
17, 0, 77, 19
Luminance
0.5349

Every format

HEX#abcf2f
RGBrgb(171, 207, 47)
HSLhsl(74, 63%, 50%)
CMYKcmyk(17%, 0%, 77%, 19%)
LABlab(78.2 -32.4 69.4)
LCHlch(78.2 76.6 115.0)
OKLCHoklch(0.801 0.180 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green81.2%
Blue18.4%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#abcf2f text on a black background

contrast 11.70:1

Card sample

#abcf2f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf2f in the Color Lab