Skip to content

#dfca13

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

RGB
223, 202, 19
HSL
54°, 84%, 48%
CMYK
0, 9, 92, 13
Luminance
0.5798

Every format

HEX#dfca13
RGBrgb(223, 202, 19)
HSLhsl(54, 84%, 48%)
CMYKcmyk(0%, 9%, 92%, 13%)
LABlab(80.7 -8.8 79.4)
LCHlch(80.7 79.9 96.4)
OKLCHoklch(0.831 0.171 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfca13 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#dfca13 on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green79.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta9.4%
Yellow91.5%
Key (black)12.5%

Color previews

#dfca13 text on a black background

contrast 12.60:1

Card sample

#dfca13 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 202, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 202, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfca13;
background: linear-gradient(135deg, #dfca13, #6CDF13);

Monochromatic scale

Palettes built from #dfca13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfca13 in the Color Lab