Skip to content

#a0cd2d

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

RGB
160, 205, 45
HSL
77°, 64%, 49%
CMYK
22, 0, 78, 20
Luminance
0.5133

Every format

HEX#a0cd2d
RGBrgb(160, 205, 45)
HSLhsl(77, 64%, 49%)
CMYKcmyk(22%, 0%, 78%, 20%)
LABlab(76.9 -35.9 68.6)
LCHlch(76.9 77.4 117.6)
OKLCHoklch(0.788 0.183 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.7%
Green80.4%
Blue17.6%

CMYK percentages

Cyan22.0%
Magenta0.0%
Yellow78.0%
Key (black)19.6%

Color previews

#a0cd2d text on a black background

contrast 11.27:1

Card sample

#a0cd2d text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(160, 205, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 205, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0cd2d;
background: linear-gradient(135deg, #a0cd2d, #35CD2D);

Monochromatic scale

Palettes built from #a0cd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0cd2d in the Color Lab