Skip to content

#dac73d

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

RGB
218, 199, 61
HSL
53°, 68%, 55%
CMYK
0, 9, 72, 15
Luminance
0.5609

Every format

HEX#dac73d
RGBrgb(218, 199, 61)
HSLhsl(53, 68%, 55%)
CMYKcmyk(0%, 9%, 72%, 15%)
LABlab(79.7 -8.2 67.5)
LCHlch(79.7 68.0 97.0)
OKLCHoklch(0.822 0.152 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac73d on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dac73d on black: 12.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.0%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow72.0%
Key (black)14.5%

Color previews

#dac73d text on a black background

contrast 12.22:1

Card sample

#dac73d text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac73d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac73d in the Color Lab