Skip to content

#a7f821

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

RGB
167, 248, 33
HSL
83°, 94%, 55%
CMYK
33, 0, 87, 3
Luminance
0.7546

Every format

HEX#a7f821
RGBrgb(167, 248, 33)
HSLhsl(83, 94%, 55%)
CMYKcmyk(33%, 0%, 87%, 3%)
LABlab(89.6 -52.2 82.7)
LCHlch(89.6 97.7 122.3)
OKLCHoklch(0.893 0.233 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7f821 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#a7f821 on black: 16.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green97.3%
Blue12.9%

CMYK percentages

Cyan32.7%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#a7f821 text on a black background

contrast 16.09:1

Card sample

#a7f821 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 248, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 248, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7f821;
background: linear-gradient(135deg, #a7f821, #21F82A);

Monochromatic scale

Palettes built from #a7f821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7f821 in the Color Lab