Skip to content

#a7cd2f

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

RGB
167, 205, 47
HSL
74°, 63%, 49%
CMYK
19, 0, 77, 20
Luminance
0.5208

Every format

HEX#a7cd2f
RGBrgb(167, 205, 47)
HSLhsl(74, 63%, 49%)
CMYKcmyk(19%, 0%, 77%, 20%)
LABlab(77.3 -33.0 68.5)
LCHlch(77.3 76.1 115.7)
OKLCHoklch(0.793 0.179 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red65.5%
Green80.4%
Blue18.4%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow77.1%
Key (black)19.6%

Color previews

#a7cd2f text on a black background

contrast 11.42:1

Card sample

#a7cd2f text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7cd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7cd2f in the Color Lab