Skip to content

#dfd863

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

RGB
223, 216, 99
HSL
57°, 66%, 63%
CMYK
0, 3, 56, 13
Luminance
0.6570

Every format

HEX#dfd863
RGBrgb(223, 216, 99)
HSLhsl(57, 66%, 63%)
CMYKcmyk(0%, 3%, 56%, 13%)
LABlab(84.8 -12.4 57.5)
LCHlch(84.8 58.8 102.2)
OKLCHoklch(0.865 0.139 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd863 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dfd863 on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue38.8%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow55.6%
Key (black)12.5%

Color previews

#dfd863 text on a black background

contrast 14.14:1

Card sample

#dfd863 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 216, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 216, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd863;
background: linear-gradient(135deg, #dfd863, #93DF63);

Monochromatic scale

Palettes built from #dfd863

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd863 in the Color Lab