Skip to content

#a2db1d

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

RGB
162, 219, 29
HSL
78°, 77%, 49%
CMYK
26, 0, 87, 14
Luminance
0.5843

Every format

HEX#a2db1d
RGBrgb(162, 219, 29)
HSLhsl(78, 77%, 49%)
CMYKcmyk(26%, 0%, 87%, 14%)
LABlab(81.0 -41.9 76.0)
LCHlch(81.0 86.8 118.9)
OKLCHoklch(0.822 0.204 126.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2db1d on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#a2db1d on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green85.9%
Blue11.4%

CMYK percentages

Cyan26.0%
Magenta0.0%
Yellow86.8%
Key (black)14.1%

Color previews

#a2db1d text on a black background

contrast 12.69:1

Card sample

#a2db1d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 219, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 219, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2db1d;
background: linear-gradient(135deg, #a2db1d, #23DB1D);

Monochromatic scale

Palettes built from #a2db1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2db1d in the Color Lab