Skip to content

#dfcc25

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

RGB
223, 204, 37
HSL
54°, 74%, 51%
CMYK
0, 9, 83, 13
Luminance
0.5901

Every format

HEX#dfcc25
RGBrgb(223, 204, 37)
HSLhsl(54, 74%, 51%)
CMYKcmyk(0%, 9%, 83%, 13%)
LABlab(81.3 -9.5 76.4)
LCHlch(81.3 77.0 97.1)
OKLCHoklch(0.836 0.167 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow83.4%
Key (black)12.5%

Color previews

#dfcc25 text on a black background

contrast 12.80:1

Card sample

#dfcc25 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc25 in the Color Lab