Skip to content

#dac821

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

RGB
218, 200, 33
HSL
54°, 74%, 49%
CMYK
0, 8, 85, 15
Luminance
0.5632

Every format

HEX#dac821
RGBrgb(218, 200, 33)
HSLhsl(54, 74%, 49%)
CMYKcmyk(0%, 8%, 85%, 15%)
LABlab(79.8 -9.7 75.9)
LCHlch(79.8 76.5 97.3)
OKLCHoklch(0.823 0.166 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac821 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#dac821 on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.4%
Blue12.9%

CMYK percentages

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

Color previews

#dac821 text on a black background

contrast 12.26:1

Card sample

#dac821 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac821 in the Color Lab