Skip to content

#dfa400

a dark, electric yellow · warm · closest name: orange

RGB
223, 164, 0
HSL
44°, 100%, 44%
CMYK
0, 27, 100, 13
Luminance
0.4224

Every format

HEX#dfa400
RGBrgb(223, 164, 0)
HSLhsl(44, 100%, 44%)
CMYKcmyk(0%, 27%, 100%, 13%)
LABlab(71.0 10.8 74.6)
LCHlch(71.0 75.4 81.8)
OKLCHoklch(0.754 0.155 82.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfa400 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#dfa400 on black: 9.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green64.3%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta26.5%
Yellow100.0%
Key (black)12.5%

Color previews

#dfa400 text on a black background

contrast 9.45:1

Card sample

#dfa400 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfa400

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfa400 in the Color Lab