Skip to content

#dfd36d

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

RGB
223, 211, 109
HSL
54°, 64%, 65%
CMYK
0, 5, 51, 13
Luminance
0.6338

Every format

HEX#dfd36d
RGBrgb(223, 211, 109)
HSLhsl(54, 64%, 65%)
CMYKcmyk(0%, 5%, 51%, 13%)
LABlab(83.6 -9.1 51.5)
LCHlch(83.6 52.3 100.1)
OKLCHoklch(0.856 0.124 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd36d on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dfd36d on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.7%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow51.1%
Key (black)12.5%

Color previews

#dfd36d text on a black background

contrast 13.68:1

Card sample

#dfd36d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 211, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 211, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd36d;
background: linear-gradient(135deg, #dfd36d, #9FDF6D);

Monochromatic scale

Palettes built from #dfd36d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd36d in the Color Lab