Skip to content

#ad8021

a dark, vivid yellow · warm · closest name: peru

RGB
173, 128, 33
HSL
41°, 68%, 40%
CMYK
0, 26, 81, 32
Luminance
0.2443

Every format

HEX#ad8021
RGBrgb(173, 128, 33)
HSLhsl(41, 68%, 40%)
CMYKcmyk(0%, 26%, 81%, 32%)
LABlab(56.5 8.8 54.3)
LCHlch(56.5 55.0 80.8)
OKLCHoklch(0.628 0.119 81.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad8021 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#ad8021 on black: 5.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta26.0%
Yellow80.9%
Key (black)32.2%

Color previews

#ad8021 text on a black background

contrast 5.89:1

Card sample

#ad8021 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad8021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad8021 in the Color Lab