Skip to content

#abbc2f

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

RGB
171, 188, 47
HSL
67°, 60%, 46%
CMYK
9, 0, 75, 26
Luminance
0.4483

Every format

HEX#abbc2f
RGBrgb(171, 188, 47)
HSLhsl(67, 60%, 46%)
CMYKcmyk(9%, 0%, 75%, 26%)
LABlab(72.8 -23.3 64.4)
LCHlch(72.8 68.5 109.9)
OKLCHoklch(0.757 0.159 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abbc2f on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#abbc2f on black: 9.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green73.7%
Blue18.4%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#abbc2f text on a black background

contrast 9.97:1

Card sample

#abbc2f text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abbc2f in the Color Lab