Skip to content

#abcf32

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

RGB
171, 207, 50
HSL
74°, 62%, 50%
CMYK
17, 0, 76, 19
Luminance
0.5351

Every format

HEX#abcf32
RGBrgb(171, 207, 50)
HSLhsl(74, 62%, 50%)
CMYKcmyk(17%, 0%, 76%, 19%)
LABlab(78.2 -32.2 68.5)
LCHlch(78.2 75.7 115.2)
OKLCHoklch(0.801 0.178 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green81.2%
Blue19.6%

CMYK percentages

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

Color previews

#abcf32 text on a black background

contrast 11.70:1

Card sample

#abcf32 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abcf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf32 in the Color Lab