Skip to content

#abc366

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

RGB
171, 195, 102
HSL
76°, 44%, 58%
CMYK
12, 0, 48, 24
Luminance
0.4865

Every format

HEX#abc366
RGBrgb(171, 195, 102)
HSLhsl(76, 44%, 58%)
CMYKcmyk(12%, 0%, 48%, 24%)
LABlab(75.2 -22.6 43.8)
LCHlch(75.2 49.3 117.3)
OKLCHoklch(0.779 0.122 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc366 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#abc366 on black: 10.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.5%
Blue40.0%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow47.7%
Key (black)23.5%

Color previews

#abc366 text on a black background

contrast 10.73:1

Card sample

#abc366 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 195, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 195, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc366;
background: linear-gradient(135deg, #abc366, #6DC366);

Monochromatic scale

Palettes built from #abc366

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc366 in the Color Lab