Skip to content

#dacb0f

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

RGB
218, 203, 15
HSL
56°, 87%, 46%
CMYK
0, 7, 93, 15
Luminance
0.5765

Every format

HEX#dacb0f
RGBrgb(218, 203, 15)
HSLhsl(56, 87%, 46%)
CMYKcmyk(0%, 7%, 93%, 15%)
LABlab(80.5 -11.6 79.6)
LCHlch(80.5 80.4 98.3)
OKLCHoklch(0.828 0.173 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacb0f on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dacb0f on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green79.6%
Blue5.9%

CMYK percentages

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

Color previews

#dacb0f text on a black background

contrast 12.53:1

Card sample

#dacb0f text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacb0f in the Color Lab