Skip to content

#dfcc0e

a balanced, electric yellow · cool · closest name: gold

RGB
223, 204, 14
HSL
55°, 88%, 47%
CMYK
0, 9, 94, 13
Luminance
0.5891

Every format

HEX#dfcc0e
RGBrgb(223, 204, 14)
HSLhsl(55, 88%, 47%)
CMYKcmyk(0%, 9%, 94%, 13%)
LABlab(81.2 -9.9 80.4)
LCHlch(81.2 81.0 97.0)
OKLCHoklch(0.835 0.173 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc0e on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc0e on black: 12.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow93.7%
Key (black)12.5%

Color previews

#dfcc0e text on a black background

contrast 12.78:1

Card sample

#dfcc0e text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc0e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc0e in the Color Lab