Skip to content

#acba01

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

RGB
172, 186, 1
HSL
65°, 99%, 37%
CMYK
8, 0, 100, 27
Luminance
0.4389

Every format

HEX#acba01
RGBrgb(172, 186, 1)
HSLhsl(65, 99%, 37%)
CMYKcmyk(8%, 0%, 100%, 27%)
LABlab(72.2 -23.0 73.1)
LCHlch(72.2 76.7 107.5)
OKLCHoklch(0.752 0.170 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acba01 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#acba01 on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green72.9%
Blue0.4%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow99.5%
Key (black)27.1%

Color previews

#acba01 text on a black background

contrast 9.78:1

Card sample

#acba01 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 186, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 186, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acba01;
background: linear-gradient(135deg, #acba01, #31BA01);

Monochromatic scale

Palettes built from #acba01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acba01 in the Color Lab