Skip to content

#a6df2c

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

RGB
166, 223, 44
HSL
79°, 74%, 52%
CMYK
26, 0, 80, 13
Luminance
0.6106

Every format

HEX#a6df2c
RGBrgb(166, 223, 44)
HSLhsl(79, 74%, 52%)
CMYKcmyk(26%, 0%, 80%, 13%)
LABlab(82.4 -41.6 74.0)
LCHlch(82.4 84.9 119.4)
OKLCHoklch(0.834 0.202 126.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6df2c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#a6df2c on black: 13.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green87.5%
Blue17.3%

CMYK percentages

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

Color previews

#a6df2c text on a black background

contrast 13.21:1

Card sample

#a6df2c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6df2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6df2c in the Color Lab