Skip to content

#d9da6c

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

RGB
217, 218, 108
HSL
61°, 60%, 64%
CMYK
1, 0, 51, 15
Luminance
0.6598

Every format

HEX#d9da6c
RGBrgb(217, 218, 108)
HSLhsl(61, 60%, 64%)
CMYKcmyk(1%, 0%, 51%, 15%)
LABlab(85.0 -15.1 53.4)
LCHlch(85.0 55.5 105.8)
OKLCHoklch(0.865 0.133 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9da6c on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#d9da6c on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green85.5%
Blue42.4%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow50.5%
Key (black)14.5%

Color previews

#d9da6c text on a black background

contrast 14.20:1

Card sample

#d9da6c text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 218, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 218, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9da6c;
background: linear-gradient(135deg, #d9da6c, #90DA6C);

Monochromatic scale

Palettes built from #d9da6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9da6c in the Color Lab