Skip to content

#dacf3f

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

RGB
218, 207, 63
HSL
56°, 68%, 55%
CMYK
0, 5, 71, 15
Luminance
0.5989

Every format

HEX#dacf3f
RGBrgb(218, 207, 63)
HSLhsl(56, 68%, 55%)
CMYKcmyk(0%, 5%, 71%, 15%)
LABlab(81.8 -12.2 68.8)
LCHlch(81.8 69.9 100.1)
OKLCHoklch(0.839 0.158 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green81.2%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow71.1%
Key (black)14.5%

Color previews

#dacf3f text on a black background

contrast 12.98:1

Card sample

#dacf3f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf3f in the Color Lab