Skip to content

#acac0f

a dark, electric yellow · cool · closest name: olive

RGB
172, 172, 15
HSL
60°, 84%, 37%
CMYK
0, 0, 91, 33
Luminance
0.3831

Every format

HEX#acac0f
RGBrgb(172, 172, 15)
HSLhsl(60, 84%, 37%)
CMYKcmyk(0%, 0%, 91%, 33%)
LABlab(68.3 -15.8 68.4)
LCHlch(68.3 70.3 103.0)
OKLCHoklch(0.721 0.154 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acac0f on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#acac0f on black: 8.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.5%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow91.3%
Key (black)32.5%

Color previews

#acac0f text on a black background

contrast 8.66:1

Card sample

#acac0f text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac0f in the Color Lab