Skip to content

#acba08

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

RGB
172, 186, 8
HSL
65°, 92%, 38%
CMYK
8, 0, 96, 27
Luminance
0.4391

Every format

HEX#acba08
RGBrgb(172, 186, 8)
HSLhsl(65, 92%, 38%)
CMYKcmyk(8%, 0%, 96%, 27%)
LABlab(72.2 -23.0 72.3)
LCHlch(72.2 75.9 107.6)
OKLCHoklch(0.752 0.169 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green72.9%
Blue3.1%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow95.7%
Key (black)27.1%

Color previews

#acba08 text on a black background

contrast 9.78:1

Card sample

#acba08 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acba08

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acba08 in the Color Lab