Skip to content

#acac3f

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

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

Every format

HEX#acac3f
RGBrgb(172, 172, 63)
HSLhsl(60, 46%, 46%)
CMYKcmyk(0%, 0%, 63%, 33%)
LABlab(68.5 -13.9 54.1)
LCHlch(68.5 55.9 104.4)
OKLCHoklch(0.724 0.130 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green67.5%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow63.4%
Key (black)32.5%

Color previews

#acac3f text on a black background

contrast 8.73:1

Card sample

#acac3f text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac3f in the Color Lab