Skip to content

#a7eb2c

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

RGB
167, 235, 44
HSL
81°, 83%, 55%
CMYK
29, 0, 81, 8
Luminance
0.6781

Every format

HEX#a7eb2c
RGBrgb(167, 235, 44)
HSLhsl(81, 83%, 55%)
CMYKcmyk(29%, 0%, 81%, 8%)
LABlab(85.9 -46.4 77.1)
LCHlch(85.9 90.0 121.0)
OKLCHoklch(0.863 0.215 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7eb2c on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#a7eb2c on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green92.2%
Blue17.3%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow81.3%
Key (black)7.8%

Color previews

#a7eb2c text on a black background

contrast 14.56:1

Card sample

#a7eb2c text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7eb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7eb2c in the Color Lab