Skip to content

#a2cd49

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

RGB
162, 205, 73
HSL
80°, 57%, 55%
CMYK
21, 0, 64, 20
Luminance
0.5183

Every format

HEX#a2cd49
RGBrgb(162, 205, 73)
HSLhsl(80, 57%, 55%)
CMYKcmyk(21%, 0%, 64%, 20%)
LABlab(77.2 -33.5 59.0)
LCHlch(77.2 67.8 119.6)
OKLCHoklch(0.792 0.165 125.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2cd49 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#a2cd49 on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green80.4%
Blue28.6%

CMYK percentages

Cyan21.0%
Magenta0.0%
Yellow64.4%
Key (black)19.6%

Color previews

#a2cd49 text on a black background

contrast 11.37:1

Card sample

#a2cd49 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 205, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 205, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cd49;
background: linear-gradient(135deg, #a2cd49, #4ACD49);

Monochromatic scale

Palettes built from #a2cd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cd49 in the Color Lab