Skip to content

#acac4f

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

RGB
172, 172, 79
HSL
60°, 37%, 49%
CMYK
0, 0, 54, 33
Luminance
0.3884

Every format

HEX#acac4f
RGBrgb(172, 172, 79)
HSLhsl(60, 37%, 49%)
CMYKcmyk(0%, 0%, 54%, 33%)
LABlab(68.6 -12.8 47.1)
LCHlch(68.6 48.8 105.2)
OKLCHoklch(0.725 0.116 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acac4f on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#acac4f on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.5%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow54.1%
Key (black)32.5%

Color previews

#acac4f text on a black background

contrast 8.77:1

Card sample

#acac4f text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac4f in the Color Lab