Skip to content

#acb02c

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

RGB
172, 176, 44
HSL
62°, 60%, 43%
CMYK
2, 0, 75, 31
Luminance
0.4000

Every format

HEX#acb02c
RGBrgb(172, 176, 44)
HSLhsl(62, 60%, 43%)
CMYKcmyk(2%, 0%, 75%, 31%)
LABlab(69.5 -17.0 62.3)
LCHlch(69.5 64.6 105.3)
OKLCHoklch(0.731 0.147 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb02c on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#acb02c on black: 9.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green69.0%
Blue17.3%

CMYK percentages

Cyan2.3%
Magenta0.0%
Yellow75.0%
Key (black)31.0%

Color previews

#acb02c text on a black background

contrast 9.00:1

Card sample

#acb02c text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acb02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb02c in the Color Lab