Skip to content

#dac32c

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

RGB
218, 195, 44
HSL
52°, 70%, 51%
CMYK
0, 11, 80, 15
Luminance
0.5412

Every format

HEX#dac32c
RGBrgb(218, 195, 44)
HSLhsl(52, 70%, 51%)
CMYKcmyk(0%, 11%, 80%, 15%)
LABlab(78.5 -6.9 72.0)
LCHlch(78.5 72.3 95.4)
OKLCHoklch(0.813 0.158 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac32c on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#dac32c on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green76.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta10.6%
Yellow79.8%
Key (black)14.5%

Color previews

#dac32c text on a black background

contrast 11.82:1

Card sample

#dac32c text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac32c in the Color Lab