Skip to content

#dfd75f

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

RGB
223, 215, 95
HSL
56°, 67%, 62%
CMYK
0, 4, 57, 13
Luminance
0.6512

Every format

HEX#dfd75f
RGBrgb(223, 215, 95)
HSLhsl(56, 67%, 62%)
CMYKcmyk(0%, 4%, 57%, 13%)
LABlab(84.5 -12.2 58.9)
LCHlch(84.5 60.2 101.7)
OKLCHoklch(0.863 0.141 105.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd75f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfd75f on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.3%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow57.4%
Key (black)12.5%

Color previews

#dfd75f text on a black background

contrast 14.02:1

Card sample

#dfd75f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd75f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd75f in the Color Lab