Skip to content

#a4eb0c

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

RGB
164, 235, 12
HSL
79°, 90%, 48%
CMYK
30, 0, 95, 8
Luminance
0.6734

Every format

HEX#a4eb0c
RGBrgb(164, 235, 12)
HSLhsl(79, 90%, 48%)
CMYKcmyk(30%, 0%, 95%, 8%)
LABlab(85.7 -48.3 82.2)
LCHlch(85.7 95.4 120.4)
OKLCHoklch(0.860 0.225 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a4eb0c on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#a4eb0c on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green92.2%
Blue4.7%

CMYK percentages

Cyan30.2%
Magenta0.0%
Yellow94.9%
Key (black)7.8%

Color previews

#a4eb0c text on a black background

contrast 14.47:1

Card sample

#a4eb0c text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a4eb0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4eb0c in the Color Lab