Skip to content

#abc11f

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

RGB
171, 193, 31
HSL
68°, 72%, 44%
CMYK
11, 0, 84, 24
Luminance
0.4690

Every format

HEX#abc11f
RGBrgb(171, 193, 31)
HSLhsl(68, 72%, 44%)
CMYKcmyk(11%, 0%, 84%, 24%)
LABlab(74.1 -26.3 70.1)
LCHlch(74.1 74.9 110.6)
OKLCHoklch(0.768 0.171 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc11f on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#abc11f on black: 10.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green75.7%
Blue12.2%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow83.9%
Key (black)24.3%

Color previews

#abc11f text on a black background

contrast 10.38:1

Card sample

#abc11f text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc11f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc11f in the Color Lab