Skip to content

#abcf2e

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

RGB
171, 207, 46
HSL
73°, 64%, 50%
CMYK
17, 0, 78, 19
Luminance
0.5348

Every format

HEX#abcf2e
RGBrgb(171, 207, 46)
HSLhsl(73, 64%, 50%)
CMYKcmyk(17%, 0%, 78%, 19%)
LABlab(78.2 -32.4 69.7)
LCHlch(78.2 76.9 114.9)
OKLCHoklch(0.801 0.180 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green81.2%
Blue18.0%

CMYK percentages

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

Color previews

#abcf2e text on a black background

contrast 11.70:1

Card sample

#abcf2e text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf2e in the Color Lab