Skip to content

#dacd2c

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

RGB
218, 205, 44
HSL
56°, 70%, 51%
CMYK
0, 6, 80, 15
Luminance
0.5875

Every format

HEX#dacd2c
RGBrgb(218, 205, 44)
HSLhsl(56, 70%, 51%)
CMYKcmyk(0%, 6%, 80%, 15%)
LABlab(81.2 -11.9 74.3)
LCHlch(81.2 75.2 99.1)
OKLCHoklch(0.834 0.166 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacd2c on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#dacd2c on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green80.4%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta6.0%
Yellow79.8%
Key (black)14.5%

Color previews

#dacd2c text on a black background

contrast 12.75:1

Card sample

#dacd2c text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacd2c in the Color Lab