Skip to content

#dfdf2e

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

RGB
223, 223, 46
HSL
60°, 73%, 53%
CMYK
0, 0, 79, 13
Luminance
0.6866

Every format

HEX#dfdf2e
RGBrgb(223, 223, 46)
HSLhsl(60, 73%, 53%)
CMYKcmyk(0%, 0%, 79%, 13%)
LABlab(86.3 -18.7 78.4)
LCHlch(86.3 80.6 103.4)
OKLCHoklch(0.876 0.180 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf2e on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf2e on black: 14.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow79.4%
Key (black)12.5%

Color previews

#dfdf2e text on a black background

contrast 14.73:1

Card sample

#dfdf2e text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf2e in the Color Lab