Skip to content

#abc218

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

RGB
171, 194, 24
HSL
68°, 78%, 43%
CMYK
12, 0, 88, 24
Luminance
0.4731

Every format

HEX#abc218
RGBrgb(171, 194, 24)
HSLhsl(68, 78%, 43%)
CMYKcmyk(12%, 0%, 88%, 24%)
LABlab(74.4 -27.0 71.8)
LCHlch(74.4 76.7 110.6)
OKLCHoklch(0.770 0.174 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc218 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#abc218 on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.1%
Blue9.4%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow87.6%
Key (black)23.9%

Color previews

#abc218 text on a black background

contrast 10.46:1

Card sample

#abc218 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc218

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc218 in the Color Lab