Skip to content

#a6df49

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

RGB
166, 223, 73
HSL
83°, 70%, 58%
CMYK
26, 0, 67, 13
Luminance
0.6136

Every format

HEX#a6df49
RGBrgb(166, 223, 73)
HSLhsl(83, 70%, 58%)
CMYKcmyk(26%, 0%, 67%, 13%)
LABlab(82.6 -40.1 64.7)
LCHlch(82.6 76.1 121.8)
OKLCHoklch(0.836 0.186 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6df49 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#a6df49 on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green87.5%
Blue28.6%

CMYK percentages

Cyan25.6%
Magenta0.0%
Yellow67.3%
Key (black)12.5%

Color previews

#a6df49 text on a black background

contrast 13.27:1

Card sample

#a6df49 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 223, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 223, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a6df49;
background: linear-gradient(135deg, #a6df49, #49DF50);

Monochromatic scale

Palettes built from #a6df49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6df49 in the Color Lab