Skip to content

#acab2c

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

RGB
172, 171, 44
HSL
60°, 59%, 42%
CMYK
0, 1, 74, 33
Luminance
0.3808

Every format

HEX#acab2c
RGBrgb(172, 171, 44)
HSLhsl(60, 59%, 42%)
CMYKcmyk(0%, 1%, 74%, 33%)
LABlab(68.1 -14.5 61.0)
LCHlch(68.1 62.7 103.3)
OKLCHoklch(0.720 0.142 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acab2c on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#acab2c on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.1%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta0.6%
Yellow74.4%
Key (black)32.5%

Color previews

#acab2c text on a black background

contrast 8.62:1

Card sample

#acab2c text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acab2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acab2c in the Color Lab