Skip to content

#abc721

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

RGB
171, 199, 33
HSL
70°, 72%, 46%
CMYK
14, 0, 83, 22
Luminance
0.4961

Every format

HEX#abc721
RGBrgb(171, 199, 33)
HSLhsl(70, 72%, 46%)
CMYKcmyk(14%, 0%, 83%, 22%)
LABlab(75.8 -29.1 71.1)
LCHlch(75.8 76.8 112.3)
OKLCHoklch(0.782 0.177 119.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc721 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#abc721 on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green78.0%
Blue12.9%

CMYK percentages

Cyan14.1%
Magenta0.0%
Yellow83.4%
Key (black)22.0%

Color previews

#abc721 text on a black background

contrast 10.92:1

Card sample

#abc721 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc721 in the Color Lab