Skip to content

#dacb2f

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

RGB
218, 203, 47
HSL
55°, 70%, 52%
CMYK
0, 7, 78, 15
Luminance
0.5782

Every format

HEX#dacb2f
RGBrgb(218, 203, 47)
HSLhsl(55, 70%, 52%)
CMYKcmyk(0%, 7%, 78%, 15%)
LABlab(80.6 -10.8 73.0)
LCHlch(80.6 73.8 98.4)
OKLCHoklch(0.829 0.163 103.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green79.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow78.4%
Key (black)14.5%

Color previews

#dacb2f text on a black background

contrast 12.56:1

Card sample

#dacb2f text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacb2f in the Color Lab