Skip to content

#d3df66

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

RGB
211, 223, 102
HSL
66°, 65%, 64%
CMYK
5, 0, 54, 13
Luminance
0.6758

Every format

HEX#d3df66
RGBrgb(211, 223, 102)
HSLhsl(66, 65%, 64%)
CMYKcmyk(5%, 0%, 54%, 13%)
LABlab(85.8 -20.5 57.0)
LCHlch(85.8 60.5 109.8)
OKLCHoklch(0.871 0.146 114.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3df66 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#d3df66 on black: 14.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green87.5%
Blue40.0%

CMYK percentages

Cyan5.4%
Magenta0.0%
Yellow54.3%
Key (black)12.5%

Color previews

#d3df66 text on a black background

contrast 14.52:1

Card sample

#d3df66 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3df66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3df66 in the Color Lab