Skip to content

#dfdf46

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

RGB
223, 223, 70
HSL
60°, 71%, 58%
CMYK
0, 0, 69, 13
Luminance
0.6891

Every format

HEX#dfdf46
RGBrgb(223, 223, 70)
HSLhsl(60, 71%, 58%)
CMYKcmyk(0%, 0%, 69%, 13%)
LABlab(86.5 -17.7 71.0)
LCHlch(86.5 73.2 104.0)
OKLCHoklch(0.877 0.168 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf46 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf46 on black: 14.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue27.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow68.6%
Key (black)12.5%

Color previews

#dfdf46 text on a black background

contrast 14.78:1

Card sample

#dfdf46 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf46 in the Color Lab