Skip to content

#dac721

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

RGB
218, 199, 33
HSL
54°, 74%, 49%
CMYK
0, 9, 85, 15
Luminance
0.5586

Every format

HEX#dac721
RGBrgb(218, 199, 33)
HSLhsl(54, 74%, 49%)
CMYKcmyk(0%, 9%, 85%, 15%)
LABlab(79.5 -9.2 75.7)
LCHlch(79.5 76.2 96.9)
OKLCHoklch(0.821 0.165 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac721 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#dac721 on black: 12.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow84.9%
Key (black)14.5%

Color previews

#dac721 text on a black background

contrast 12.17:1

Card sample

#dac721 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 199, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 199, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dac721;
background: linear-gradient(135deg, #dac721, #72DA21);

Monochromatic scale

Palettes built from #dac721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac721 in the Color Lab