Skip to content

#acd040

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

RGB
172, 208, 64
HSL
75°, 61%, 53%
CMYK
17, 0, 69, 18
Luminance
0.5425

Every format

HEX#acd040
RGBrgb(172, 208, 64)
HSLhsl(75, 61%, 53%)
CMYKcmyk(17%, 0%, 69%, 18%)
LABlab(78.6 -31.6 64.2)
LCHlch(78.6 71.5 116.2)
OKLCHoklch(0.805 0.171 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acd040 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#acd040 on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green81.6%
Blue25.1%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow69.2%
Key (black)18.4%

Color previews

#acd040 text on a black background

contrast 11.85:1

Card sample

#acd040 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 208, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 208, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acd040;
background: linear-gradient(135deg, #acd040, #4CD040);

Monochromatic scale

Palettes built from #acd040

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acd040 in the Color Lab