Skip to content

#a4cf2f

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

RGB
164, 207, 47
HSL
76°, 63%, 50%
CMYK
21, 0, 77, 19
Luminance
0.5272

Every format

HEX#a4cf2f
RGBrgb(164, 207, 47)
HSLhsl(76, 63%, 50%)
CMYKcmyk(21%, 0%, 77%, 19%)
LABlab(77.7 -35.1 68.8)
LCHlch(77.7 77.3 117.1)
OKLCHoklch(0.796 0.183 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.3%
Green81.2%
Blue18.4%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#a4cf2f text on a black background

contrast 11.54:1

Card sample

#a4cf2f text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a4cf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4cf2f in the Color Lab