Skip to content

#dacf2c

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

RGB
218, 207, 44
HSL
56°, 70%, 51%
CMYK
0, 5, 80, 15
Luminance
0.5971

Every format

HEX#dacf2c
RGBrgb(218, 207, 44)
HSLhsl(56, 70%, 51%)
CMYKcmyk(0%, 5%, 80%, 15%)
LABlab(81.7 -12.9 74.8)
LCHlch(81.7 75.9 99.8)
OKLCHoklch(0.838 0.168 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green81.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow79.8%
Key (black)14.5%

Color previews

#dacf2c text on a black background

contrast 12.94:1

Card sample

#dacf2c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf2c in the Color Lab