Skip to content

#dacb3f

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

RGB
218, 203, 63
HSL
54°, 68%, 55%
CMYK
0, 7, 71, 15
Luminance
0.5798

Every format

HEX#dacb3f
RGBrgb(218, 203, 63)
HSLhsl(54, 68%, 55%)
CMYKcmyk(0%, 7%, 71%, 15%)
LABlab(80.7 -10.2 67.8)
LCHlch(80.7 68.5 98.5)
OKLCHoklch(0.830 0.154 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green79.6%
Blue24.7%

CMYK percentages

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

Color previews

#dacb3f text on a black background

contrast 12.60:1

Card sample

#dacb3f text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacb3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacb3f in the Color Lab