Skip to content

#ddb721

a balanced, vivid yellow · cool · closest name: gold

RGB
221, 183, 33
HSL
48°, 74%, 50%
CMYK
0, 17, 85, 13
Luminance
0.4935

Every format

HEX#ddb721
RGBrgb(221, 183, 33)
HSLhsl(48, 74%, 50%)
CMYKcmyk(0%, 17%, 85%, 13%)
LABlab(75.7 0.3 72.6)
LCHlch(75.7 72.6 89.7)
OKLCHoklch(0.790 0.155 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb721 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#ddb721 on black: 10.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green71.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.2%
Yellow85.1%
Key (black)13.3%

Color previews

#ddb721 text on a black background

contrast 10.87:1

Card sample

#ddb721 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 183, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 183, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddb721;
background: linear-gradient(135deg, #ddb721, #86DD21);

Monochromatic scale

Palettes built from #ddb721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb721 in the Color Lab