Skip to content

#dacb49

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

RGB
218, 203, 73
HSL
54°, 66%, 57%
CMYK
0, 7, 67, 15
Luminance
0.5810

Every format

HEX#dacb49
RGBrgb(218, 203, 73)
HSLhsl(54, 66%, 57%)
CMYKcmyk(0%, 7%, 67%, 15%)
LABlab(80.8 -9.7 64.0)
LCHlch(80.8 64.8 98.6)
OKLCHoklch(0.831 0.148 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacb49 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dacb49 on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green79.6%
Blue28.6%

CMYK percentages

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

Color previews

#dacb49 text on a black background

contrast 12.62:1

Card sample

#dacb49 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacb49 in the Color Lab