Skip to content

#a7ef1f

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

RGB
167, 239, 31
HSL
81°, 87%, 53%
CMYK
30, 0, 87, 6
Luminance
0.7005

Every format

HEX#a7ef1f
RGBrgb(167, 239, 31)
HSLhsl(81, 87%, 53%)
CMYKcmyk(30%, 0%, 87%, 6%)
LABlab(87.0 -48.5 80.8)
LCHlch(87.0 94.3 121.0)
OKLCHoklch(0.872 0.224 128.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7ef1f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#a7ef1f on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green93.7%
Blue12.2%

CMYK percentages

Cyan30.1%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#a7ef1f text on a black background

contrast 15.01:1

Card sample

#a7ef1f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7ef1f in the Color Lab