Skip to content

#dfd46f

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

RGB
223, 212, 111
HSL
54°, 64%, 66%
CMYK
0, 5, 50, 13
Luminance
0.6392

Every format

HEX#dfd46f
RGBrgb(223, 212, 111)
HSLhsl(54, 64%, 66%)
CMYKcmyk(0%, 5%, 50%, 13%)
LABlab(83.9 -9.4 50.8)
LCHlch(83.9 51.7 100.5)
OKLCHoklch(0.858 0.123 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd46f on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dfd46f on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow50.2%
Key (black)12.5%

Color previews

#dfd46f text on a black background

contrast 13.78:1

Card sample

#dfd46f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd46f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd46f in the Color Lab