Skip to content

#dfd35f

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

RGB
223, 211, 95
HSL
54°, 67%, 62%
CMYK
0, 5, 57, 13
Luminance
0.6310

Every format

HEX#dfd35f
RGBrgb(223, 211, 95)
HSLhsl(54, 67%, 62%)
CMYKcmyk(0%, 5%, 57%, 13%)
LABlab(83.5 -10.2 57.7)
LCHlch(83.5 58.6 100.0)
OKLCHoklch(0.854 0.137 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.7%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow57.4%
Key (black)12.5%

Color previews

#dfd35f text on a black background

contrast 13.62:1

Card sample

#dfd35f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd35f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd35f in the Color Lab