Skip to content

#dac608

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

RGB
218, 198, 8
HSL
54°, 93%, 44%
CMYK
0, 9, 96, 15
Luminance
0.5531

Every format

HEX#dac608
RGBrgb(218, 198, 8)
HSLhsl(54, 93%, 44%)
CMYKcmyk(0%, 9%, 96%, 15%)
LABlab(79.2 -9.1 79.3)
LCHlch(79.2 79.8 96.5)
OKLCHoklch(0.818 0.170 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac608 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#dac608 on black: 12.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green77.6%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow96.3%
Key (black)14.5%

Color previews

#dac608 text on a black background

contrast 12.06:1

Card sample

#dac608 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac608 in the Color Lab