Skip to content

#dacf39

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

RGB
218, 207, 57
HSL
56°, 69%, 54%
CMYK
0, 5, 74, 15
Luminance
0.5983

Every format

HEX#dacf39
RGBrgb(218, 207, 57)
HSLhsl(56, 69%, 54%)
CMYKcmyk(0%, 5%, 74%, 15%)
LABlab(81.7 -12.5 70.9)
LCHlch(81.7 72.0 100.0)
OKLCHoklch(0.838 0.161 105.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green81.2%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow73.9%
Key (black)14.5%

Color previews

#dacf39 text on a black background

contrast 12.97:1

Card sample

#dacf39 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf39 in the Color Lab