Skip to content

#dfd47b

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

RGB
223, 212, 123
HSL
53°, 61%, 68%
CMYK
0, 5, 45, 13
Luminance
0.6421

Every format

HEX#dfd47b
RGBrgb(223, 212, 123)
HSLhsl(53, 61%, 68%)
CMYKcmyk(0%, 5%, 45%, 13%)
LABlab(84.1 -8.3 45.2)
LCHlch(84.1 46.0 100.5)
OKLCHoklch(0.860 0.111 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green83.1%
Blue48.2%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow44.8%
Key (black)12.5%

Color previews

#dfd47b text on a black background

contrast 13.84:1

Card sample

#dfd47b text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd47b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd47b in the Color Lab