Skip to content

#abc975

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

RGB
171, 201, 117
HSL
81°, 44%, 62%
CMYK
15, 0, 42, 21
Luminance
0.5172

Every format

HEX#abc975
RGBrgb(171, 201, 117)
HSLhsl(81, 44%, 62%)
CMYKcmyk(15%, 0%, 42%, 21%)
LABlab(77.1 -23.9 38.6)
LCHlch(77.1 45.4 121.7)
OKLCHoklch(0.794 0.115 125.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc975 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#abc975 on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green78.8%
Blue45.9%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow41.8%
Key (black)21.2%

Color previews

#abc975 text on a black background

contrast 11.34:1

Card sample

#abc975 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 201, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 201, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc975;
background: linear-gradient(135deg, #abc975, #75C977);

Monochromatic scale

Palettes built from #abc975

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc975 in the Color Lab