Skip to content

#dacf02

a dark, electric yellow · cool · closest name: gold

RGB
218, 207, 2
HSL
57°, 98%, 43%
CMYK
0, 5, 99, 15
Luminance
0.5954

Every format

HEX#dacf02
RGBrgb(218, 207, 2)
HSLhsl(57, 98%, 43%)
CMYKcmyk(0%, 5%, 99%, 15%)
LABlab(81.6 -13.7 81.6)
LCHlch(81.6 82.8 99.5)
OKLCHoklch(0.837 0.178 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf02 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dacf02 on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green81.2%
Blue0.8%

CMYK percentages

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

Color previews

#dacf02 text on a black background

contrast 12.91:1

Card sample

#dacf02 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf02 in the Color Lab