Skip to content

#acb814

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

RGB
172, 184, 20
HSL
64°, 80%, 40%
CMYK
7, 0, 89, 28
Luminance
0.4310

Every format

HEX#acb814
RGBrgb(172, 184, 20)
HSLhsl(64, 80%, 40%)
CMYKcmyk(7%, 0%, 89%, 28%)
LABlab(71.6 -21.8 70.3)
LCHlch(71.6 73.6 107.2)
OKLCHoklch(0.748 0.165 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb814 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#acb814 on black: 9.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green72.2%
Blue7.8%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow89.1%
Key (black)27.8%

Color previews

#acb814 text on a black background

contrast 9.62:1

Card sample

#acb814 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acb814

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb814 in the Color Lab