Skip to content

#a7cd2c

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

RGB
167, 205, 44
HSL
74°, 65%, 49%
CMYK
19, 0, 79, 20
Luminance
0.5206

Every format

HEX#a7cd2c
RGBrgb(167, 205, 44)
HSLhsl(74, 65%, 49%)
CMYKcmyk(19%, 0%, 79%, 20%)
LABlab(77.3 -33.2 69.4)
LCHlch(77.3 76.9 115.5)
OKLCHoklch(0.793 0.181 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7cd2c on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#a7cd2c on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green80.4%
Blue17.3%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow78.5%
Key (black)19.6%

Color previews

#a7cd2c text on a black background

contrast 11.41:1

Card sample

#a7cd2c text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 205, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 205, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7cd2c;
background: linear-gradient(135deg, #a7cd2c, #3BCD2C);

Monochromatic scale

Palettes built from #a7cd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7cd2c in the Color Lab