Skip to content

#acac40

a balanced, vivid yellow · cool · closest name: olive

RGB
172, 172, 64
HSL
60°, 46%, 46%
CMYK
0, 0, 63, 33
Luminance
0.3865

Every format

HEX#acac40
RGBrgb(172, 172, 64)
HSLhsl(60, 46%, 46%)
CMYKcmyk(0%, 0%, 63%, 33%)
LABlab(68.5 -13.9 53.7)
LCHlch(68.5 55.5 104.5)
OKLCHoklch(0.724 0.129 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acac40 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#acac40 on black: 8.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.5%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow62.8%
Key (black)32.5%

Color previews

#acac40 text on a black background

contrast 8.73:1

Card sample

#acac40 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac40 in the Color Lab