Skip to content

#a2cf5d

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

RGB
162, 207, 93
HSL
84°, 54%, 59%
CMYK
22, 0, 55, 19
Luminance
0.5310

Every format

HEX#a2cf5d
RGBrgb(162, 207, 93)
HSLhsl(84, 54%, 59%)
CMYKcmyk(22%, 0%, 55%, 19%)
LABlab(77.9 -32.7 51.1)
LCHlch(77.9 60.7 122.6)
OKLCHoklch(0.798 0.151 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2cf5d on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#a2cf5d on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green81.2%
Blue36.5%

CMYK percentages

Cyan21.7%
Magenta0.0%
Yellow55.1%
Key (black)18.8%

Color previews

#a2cf5d text on a black background

contrast 11.62:1

Card sample

#a2cf5d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2cf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cf5d in the Color Lab