Skip to content

#a2cf89

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

RGB
162, 207, 137
HSL
99°, 42%, 68%
CMYK
22, 0, 34, 19
Luminance
0.5411

Every format

HEX#a2cf89
RGBrgb(162, 207, 137)
HSLhsl(99, 42%, 68%)
CMYKcmyk(22%, 0%, 34%, 19%)
LABlab(78.5 -27.4 30.1)
LCHlch(78.5 40.8 132.3)
OKLCHoklch(0.805 0.106 134.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2cf89 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#a2cf89 on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green81.2%
Blue53.7%

CMYK percentages

Cyan21.7%
Magenta0.0%
Yellow33.8%
Key (black)18.8%

Color previews

#a2cf89 text on a black background

contrast 11.82:1

Card sample

#a2cf89 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 207, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 207, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cf89;
background: linear-gradient(135deg, #a2cf89, #89CF9F);

Monochromatic scale

Palettes built from #a2cf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cf89 in the Color Lab