Skip to content

#a7df2d

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

RGB
167, 223, 45
HSL
79°, 74%, 53%
CMYK
25, 0, 80, 13
Luminance
0.6118

Every format

HEX#a7df2d
RGBrgb(167, 223, 45)
HSLhsl(79, 74%, 53%)
CMYKcmyk(25%, 0%, 80%, 13%)
LABlab(82.5 -41.2 73.8)
LCHlch(82.5 84.5 119.2)
OKLCHoklch(0.835 0.201 126.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7df2d on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#a7df2d on black: 13.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green87.5%
Blue17.6%

CMYK percentages

Cyan25.1%
Magenta0.0%
Yellow79.8%
Key (black)12.5%

Color previews

#a7df2d text on a black background

contrast 13.24:1

Card sample

#a7df2d text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 223, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 223, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7df2d;
background: linear-gradient(135deg, #a7df2d, #30DF2D);

Monochromatic scale

Palettes built from #a7df2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7df2d in the Color Lab