Skip to content

#dacb2c

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

RGB
218, 203, 44
HSL
55°, 70%, 51%
CMYK
0, 7, 80, 15
Luminance
0.5780

Every format

HEX#dacb2c
RGBrgb(218, 203, 44)
HSLhsl(55, 70%, 51%)
CMYKcmyk(0%, 7%, 80%, 15%)
LABlab(80.6 -10.9 73.8)
LCHlch(80.6 74.6 98.4)
OKLCHoklch(0.829 0.164 103.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacb2c on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#dacb2c on black: 12.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green79.6%
Blue17.3%

CMYK percentages

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

Color previews

#dacb2c text on a black background

contrast 12.56:1

Card sample

#dacb2c text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacb2c in the Color Lab