Skip to content

#d4da39

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

RGB
212, 218, 57
HSL
62°, 69%, 54%
CMYK
3, 0, 74, 15
Luminance
0.6444

Every format

HEX#d4da39
RGBrgb(212, 218, 57)
HSLhsl(62, 69%, 54%)
CMYKcmyk(3%, 0%, 74%, 15%)
LABlab(84.2 -20.4 73.0)
LCHlch(84.2 75.8 105.6)
OKLCHoklch(0.857 0.173 111.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4da39 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d4da39 on black: 13.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green85.5%
Blue22.4%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow73.9%
Key (black)14.5%

Color previews

#d4da39 text on a black background

contrast 13.89:1

Card sample

#d4da39 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 218, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 218, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4da39;
background: linear-gradient(135deg, #d4da39, #69DA39);

Monochromatic scale

Palettes built from #d4da39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4da39 in the Color Lab