Skip to content

#adac21

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

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

Every format

HEX#adac21
RGBrgb(173, 172, 33)
HSLhsl(60, 68%, 40%)
CMYKcmyk(0%, 1%, 81%, 32%)
LABlab(68.4 -15.0 64.7)
LCHlch(68.4 66.4 103.0)
OKLCHoklch(0.722 0.148 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adac21 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#adac21 on black: 8.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#adac21 text on a black background

contrast 8.70:1

Card sample

#adac21 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adac21 in the Color Lab