Skip to content

#dacf2b

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

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

Every format

HEX#dacf2b
RGBrgb(218, 207, 43)
HSLhsl(56, 70%, 51%)
CMYKcmyk(0%, 5%, 80%, 15%)
LABlab(81.7 -13.0 75.0)
LCHlch(81.7 76.1 99.8)
OKLCHoklch(0.838 0.168 105.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green81.2%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow80.3%
Key (black)14.5%

Color previews

#dacf2b text on a black background

contrast 12.94:1

Card sample

#dacf2b text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf2b in the Color Lab