Skip to content

#acad21

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

RGB
172, 173, 33
HSL
60°, 68%, 40%
CMYK
1, 0, 81, 32
Luminance
0.3877

Every format

HEX#acad21
RGBrgb(172, 173, 33)
HSLhsl(60, 68%, 40%)
CMYKcmyk(1%, 0%, 81%, 32%)
LABlab(68.6 -15.9 64.9)
LCHlch(68.6 66.8 103.8)
OKLCHoklch(0.724 0.149 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acad21 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#acad21 on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.8%
Blue12.9%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow80.9%
Key (black)32.2%

Color previews

#acad21 text on a black background

contrast 8.75:1

Card sample

#acad21 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 173, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 173, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acad21;
background: linear-gradient(135deg, #acad21, #4FAD21);

Monochromatic scale

Palettes built from #acad21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acad21 in the Color Lab