Skip to content

#dacf3c

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

RGB
218, 207, 60
HSL
56°, 68%, 55%
CMYK
0, 5, 73, 15
Luminance
0.5986

Every format

HEX#dacf3c
RGBrgb(218, 207, 60)
HSLhsl(56, 68%, 55%)
CMYKcmyk(0%, 5%, 73%, 15%)
LABlab(81.8 -12.3 69.8)
LCHlch(81.8 70.9 100.0)
OKLCHoklch(0.839 0.160 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green81.2%
Blue23.5%

CMYK percentages

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

Color previews

#dacf3c text on a black background

contrast 12.97:1

Card sample

#dacf3c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf3c in the Color Lab