Skip to content

#acab2d

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

RGB
172, 171, 45
HSL
60°, 59%, 43%
CMYK
0, 1, 74, 33
Luminance
0.3809

Every format

HEX#acab2d
RGBrgb(172, 171, 45)
HSLhsl(60, 59%, 43%)
CMYKcmyk(0%, 1%, 74%, 33%)
LABlab(68.1 -14.4 60.7)
LCHlch(68.1 62.4 103.4)
OKLCHoklch(0.720 0.141 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green67.1%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta0.6%
Yellow73.8%
Key (black)32.5%

Color previews

#acab2d text on a black background

contrast 8.62:1

Card sample

#acab2d text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acab2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acab2d in the Color Lab