Skip to content

#dacf99

a light, vivid yellow · cool · closest name: tan

RGB
218, 207, 153
HSL
50°, 47%, 73%
CMYK
0, 5, 30, 15
Luminance
0.6183

Every format

HEX#dacf99
RGBrgb(218, 207, 153)
HSLhsl(50, 47%, 73%)
CMYKcmyk(0%, 5%, 30%, 15%)
LABlab(82.8 -4.4 28.3)
LCHlch(82.8 28.6 98.8)
OKLCHoklch(0.850 0.072 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf99 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dacf99 on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green81.2%
Blue60.0%

CMYK percentages

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

Color previews

#dacf99 text on a black background

contrast 13.37:1

Card sample

#dacf99 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf99 in the Color Lab