Skip to content

#abc662

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

RGB
171, 198, 98
HSL
76°, 47%, 58%
CMYK
14, 0, 51, 22
Luminance
0.4993

Every format

HEX#abc662
RGBrgb(171, 198, 98)
HSLhsl(76, 47%, 58%)
CMYKcmyk(14%, 0%, 51%, 22%)
LABlab(76.0 -24.5 46.7)
LCHlch(76.0 52.7 117.7)
OKLCHoklch(0.785 0.131 121.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc662 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#abc662 on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green77.6%
Blue38.4%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow50.5%
Key (black)22.4%

Color previews

#abc662 text on a black background

contrast 10.99:1

Card sample

#abc662 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 198, 98, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 198, 98, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc662;
background: linear-gradient(135deg, #abc662, #68C662);

Monochromatic scale

Palettes built from #abc662

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc662 in the Color Lab