Skip to content

#acab0f

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

RGB
172, 171, 15
HSL
60°, 84%, 37%
CMYK
0, 1, 91, 33
Luminance
0.3793

Every format

HEX#acab0f
RGBrgb(172, 171, 15)
HSLhsl(60, 84%, 37%)
CMYKcmyk(0%, 1%, 91%, 33%)
LABlab(68.0 -15.3 68.2)
LCHlch(68.0 69.9 102.7)
OKLCHoklch(0.719 0.153 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acab0f on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#acab0f on black: 8.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#acab0f text on a black background

contrast 8.59:1

Card sample

#acab0f text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acab0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acab0f in the Color Lab