Skip to content

#a4ef1f

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

RGB
164, 239, 31
HSL
82°, 87%, 53%
CMYK
31, 0, 87, 6
Luminance
0.6972

Every format

HEX#a4ef1f
RGBrgb(164, 239, 31)
HSLhsl(82, 87%, 53%)
CMYKcmyk(31%, 0%, 87%, 6%)
LABlab(86.9 -49.6 80.6)
LCHlch(86.9 94.7 121.6)
OKLCHoklch(0.870 0.225 129.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a4ef1f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#a4ef1f on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green93.7%
Blue12.2%

CMYK percentages

Cyan31.4%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#a4ef1f text on a black background

contrast 14.94:1

Card sample

#a4ef1f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4ef1f;
background: linear-gradient(135deg, #a4ef1f, #1FEF24);

Monochromatic scale

Palettes built from #a4ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4ef1f in the Color Lab