Skip to content

#a4cf39

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

RGB
164, 207, 57
HSL
77°, 61%, 52%
CMYK
21, 0, 73, 19
Luminance
0.5281

Every format

HEX#a4cf39
RGBrgb(164, 207, 57)
HSLhsl(77, 61%, 52%)
CMYKcmyk(21%, 0%, 73%, 19%)
LABlab(77.8 -34.6 65.7)
LCHlch(77.8 74.2 117.8)
OKLCHoklch(0.796 0.178 124.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a4cf39 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#a4cf39 on black: 11.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green81.2%
Blue22.4%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow72.5%
Key (black)18.8%

Color previews

#a4cf39 text on a black background

contrast 11.56:1

Card sample

#a4cf39 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a4cf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4cf39 in the Color Lab