Skip to content

#a2cc55

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

RGB
162, 204, 85
HSL
81°, 54%, 57%
CMYK
21, 0, 58, 20
Luminance
0.5152

Every format

HEX#a2cc55
RGBrgb(162, 204, 85)
HSLhsl(81, 54%, 57%)
CMYKcmyk(21%, 0%, 58%, 20%)
LABlab(77.0 -32.1 53.6)
LCHlch(77.0 62.5 120.9)
OKLCHoklch(0.791 0.154 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2cc55 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#a2cc55 on black: 11.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green80.0%
Blue33.3%

CMYK percentages

Cyan20.6%
Magenta0.0%
Yellow58.3%
Key (black)20.0%

Color previews

#a2cc55 text on a black background

contrast 11.30:1

Card sample

#a2cc55 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 204, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 204, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cc55;
background: linear-gradient(135deg, #a2cc55, #55CC58);

Monochromatic scale

Palettes built from #a2cc55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cc55 in the Color Lab