Skip to content

#dacf49

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

RGB
218, 207, 73
HSL
55°, 66%, 57%
CMYK
0, 5, 67, 15
Luminance
0.6001

Every format

HEX#dacf49
RGBrgb(218, 207, 73)
HSLhsl(55, 66%, 57%)
CMYKcmyk(0%, 5%, 67%, 15%)
LABlab(81.8 -11.7 65.1)
LCHlch(81.8 66.2 100.2)
OKLCHoklch(0.840 0.151 104.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf49 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dacf49 on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green81.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow66.5%
Key (black)14.5%

Color previews

#dacf49 text on a black background

contrast 13.00:1

Card sample

#dacf49 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf49 in the Color Lab