Skip to content

#a1df2c

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

RGB
161, 223, 44
HSL
81°, 74%, 52%
CMYK
28, 0, 80, 13
Luminance
0.6053

Every format

HEX#a1df2c
RGBrgb(161, 223, 44)
HSLhsl(81, 74%, 52%)
CMYKcmyk(28%, 0%, 80%, 13%)
LABlab(82.1 -43.5 73.6)
LCHlch(82.1 85.5 120.6)
OKLCHoklch(0.831 0.204 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a1df2c on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#a1df2c on black: 13.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.1%
Green87.5%
Blue17.3%

CMYK percentages

Cyan27.8%
Magenta0.0%
Yellow80.3%
Key (black)12.5%

Color previews

#a1df2c text on a black background

contrast 13.11:1

Card sample

#a1df2c text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a1df2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a1df2c in the Color Lab