Skip to content

#acac27

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

RGB
172, 172, 39
HSL
60°, 63%, 41%
CMYK
0, 0, 77, 33
Luminance
0.3842

Every format

HEX#acac27
RGBrgb(172, 172, 39)
HSLhsl(60, 63%, 41%)
CMYKcmyk(0%, 0%, 77%, 33%)
LABlab(68.3 -15.2 62.9)
LCHlch(68.3 64.7 103.6)
OKLCHoklch(0.722 0.146 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acac27 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#acac27 on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.5%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow77.3%
Key (black)32.5%

Color previews

#acac27 text on a black background

contrast 8.68:1

Card sample

#acac27 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acac27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acac27 in the Color Lab