Skip to content

#a6ff2f

a balanced, electric green · cool · closest name: lime

RGB
166, 255, 47
HSL
86°, 100%, 59%
CMYK
35, 0, 82, 0
Luminance
0.7983

Every format

HEX#a6ff2f
RGBrgb(166, 255, 47)
HSLhsl(86, 100%, 59%)
CMYKcmyk(35%, 0%, 82%, 0%)
LABlab(91.6 -54.9 81.4)
LCHlch(91.6 98.2 124.0)
OKLCHoklch(0.909 0.237 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6ff2f on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#a6ff2f on black: 16.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green100.0%
Blue18.4%

CMYK percentages

Cyan34.9%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#a6ff2f text on a black background

contrast 16.97:1

Card sample

#a6ff2f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6ff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6ff2f in the Color Lab