Skip to content

#dac049

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

RGB
218, 192, 73
HSL
49°, 66%, 57%
CMYK
0, 12, 67, 15
Luminance
0.5309

Every format

HEX#dac049
RGBrgb(218, 192, 73)
HSLhsl(49, 66%, 57%)
CMYKcmyk(0%, 12%, 67%, 15%)
LABlab(77.9 -4.0 61.1)
LCHlch(77.9 61.2 93.8)
OKLCHoklch(0.808 0.139 96.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac049 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dac049 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green75.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta11.9%
Yellow66.5%
Key (black)14.5%

Color previews

#dac049 text on a black background

contrast 11.62:1

Card sample

#dac049 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 192, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 192, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dac049;
background: linear-gradient(135deg, #dac049, #94DA49);

Monochromatic scale

Palettes built from #dac049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac049 in the Color Lab