Skip to content

#ddac00

a dark, electric yellow · cool · closest name: orange

RGB
221, 172, 0
HSL
47°, 100%, 43%
CMYK
0, 22, 100, 13
Luminance
0.4488

Every format

HEX#ddac00
RGBrgb(221, 172, 0)
HSLhsl(47, 100%, 43%)
CMYKcmyk(0%, 22%, 100%, 13%)
LABlab(72.8 5.7 75.7)
LCHlch(72.8 75.9 85.7)
OKLCHoklch(0.768 0.157 88.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddac00 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#ddac00 on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green67.5%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta22.2%
Yellow100.0%
Key (black)13.3%

Color previews

#ddac00 text on a black background

contrast 9.98:1

Card sample

#ddac00 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddac00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddac00 in the Color Lab