Skip to content

#acac41

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

RGB
172, 172, 65
HSL
60°, 45%, 47%
CMYK
0, 0, 62, 33
Luminance
0.3866

Every format

HEX#acac41
RGBrgb(172, 172, 65)
HSLhsl(60, 45%, 47%)
CMYKcmyk(0%, 0%, 62%, 33%)
LABlab(68.5 -13.8 53.3)
LCHlch(68.5 55.0 104.5)
OKLCHoklch(0.724 0.129 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#acac41 text on a black background

contrast 8.73:1

Card sample

#acac41 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac41

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac41 in the Color Lab