Skip to content

#dacd3f

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

RGB
218, 205, 63
HSL
55°, 68%, 55%
CMYK
0, 6, 71, 15
Luminance
0.5893

Every format

HEX#dacd3f
RGBrgb(218, 205, 63)
HSLhsl(55, 68%, 55%)
CMYKcmyk(0%, 6%, 71%, 15%)
LABlab(81.3 -11.2 68.3)
LCHlch(81.3 69.2 99.3)
OKLCHoklch(0.835 0.156 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacd3f on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dacd3f on black: 12.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green80.4%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta6.0%
Yellow71.1%
Key (black)14.5%

Color previews

#dacd3f text on a black background

contrast 12.79:1

Card sample

#dacd3f text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 205, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 205, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dacd3f;
background: linear-gradient(135deg, #dacd3f, #80DA3F);

Monochromatic scale

Palettes built from #dacd3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacd3f in the Color Lab