Skip to content

#a4cf49

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

RGB
164, 207, 73
HSL
79°, 58%, 55%
CMYK
21, 0, 65, 19
Luminance
0.5300

Every format

HEX#a4cf49
RGBrgb(164, 207, 73)
HSLhsl(79, 58%, 55%)
CMYKcmyk(21%, 0%, 65%, 19%)
LABlab(77.9 -33.6 59.8)
LCHlch(77.9 68.6 119.4)
OKLCHoklch(0.798 0.167 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.3%
Green81.2%
Blue28.6%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#a4cf49 text on a black background

contrast 11.60:1

Card sample

#a4cf49 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4cf49;
background: linear-gradient(135deg, #a4cf49, #4BCF49);

Monochromatic scale

Palettes built from #a4cf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4cf49 in the Color Lab