Skip to content

#dfd14f

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

RGB
223, 209, 79
HSL
54°, 69%, 59%
CMYK
0, 6, 65, 13
Luminance
0.6185

Every format

HEX#dfd14f
RGBrgb(223, 209, 79)
HSLhsl(54, 69%, 59%)
CMYKcmyk(0%, 6%, 65%, 13%)
LABlab(82.8 -10.3 63.9)
LCHlch(82.8 64.7 99.1)
OKLCHoklch(0.849 0.148 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd14f on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dfd14f on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow64.6%
Key (black)12.5%

Color previews

#dfd14f text on a black background

contrast 13.37:1

Card sample

#dfd14f text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd14f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd14f in the Color Lab