Skip to content

#abc478

a balanced, soft green · cool · closest name: khaki

RGB
171, 196, 120
HSL
80°, 39%, 62%
CMYK
13, 0, 39, 23
Luminance
0.4949

Every format

HEX#abc478
RGBrgb(171, 196, 120)
HSLhsl(80, 39%, 62%)
CMYKcmyk(13%, 0%, 39%, 23%)
LABlab(75.8 -21.1 35.4)
LCHlch(75.8 41.2 120.8)
OKLCHoklch(0.784 0.104 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc478 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#abc478 on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.9%
Blue47.1%

CMYK percentages

Cyan12.8%
Magenta0.0%
Yellow38.8%
Key (black)23.1%

Color previews

#abc478 text on a black background

contrast 10.90:1

Card sample

#abc478 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 196, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 196, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc478;
background: linear-gradient(135deg, #abc478, #78C478);

Monochromatic scale

Palettes built from #abc478

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc478 in the Color Lab