Skip to content

#a2c080

a balanced, soft green · cool · closest name: khaki

RGB
162, 192, 128
HSL
88°, 34%, 63%
CMYK
16, 0, 33, 25
Luminance
0.4694

Every format

HEX#a2c080
RGBrgb(162, 192, 128)
HSLhsl(88, 34%, 63%)
CMYKcmyk(16%, 0%, 33%, 25%)
LABlab(74.2 -21.4 29.0)
LCHlch(74.2 36.0 126.4)
OKLCHoklch(0.770 0.093 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2c080 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#a2c080 on black: 10.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green75.3%
Blue50.2%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#a2c080 text on a black background

contrast 10.39:1

Card sample

#a2c080 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 192, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 192, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2c080;
background: linear-gradient(135deg, #a2c080, #80C088);

Monochromatic scale

Palettes built from #a2c080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2c080 in the Color Lab