Skip to content

#dcd968

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

RGB
220, 217, 104
HSL
58°, 62%, 64%
CMYK
0, 1, 53, 14
Luminance
0.6584

Every format

HEX#dcd968
RGBrgb(220, 217, 104)
HSLhsl(58, 62%, 64%)
CMYKcmyk(0%, 1%, 53%, 14%)
LABlab(84.9 -13.8 55.2)
LCHlch(84.9 56.9 104.0)
OKLCHoklch(0.865 0.136 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green85.1%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow52.7%
Key (black)13.7%

Color previews

#dcd968 text on a black background

contrast 14.17:1

Card sample

#dcd968 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 217, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 217, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd968;
background: linear-gradient(135deg, #dcd968, #92DC68);

Monochromatic scale

Palettes built from #dcd968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd968 in the Color Lab