Skip to content

#acab2f

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

RGB
172, 171, 47
HSL
60°, 57%, 43%
CMYK
0, 1, 73, 33
Luminance
0.3810

Every format

HEX#acab2f
RGBrgb(172, 171, 47)
HSLhsl(60, 57%, 43%)
CMYKcmyk(0%, 1%, 73%, 33%)
LABlab(68.1 -14.3 60.0)
LCHlch(68.1 61.7 103.4)
OKLCHoklch(0.720 0.140 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green67.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.6%
Yellow72.7%
Key (black)32.5%

Color previews

#acab2f text on a black background

contrast 8.62:1

Card sample

#acab2f text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acab2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acab2f in the Color Lab