Skip to content

#dfdf0e

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

RGB
223, 223, 14
HSL
60°, 88%, 47%
CMYK
0, 0, 94, 13
Luminance
0.6850

Every format

HEX#dfdf0e
RGBrgb(223, 223, 14)
HSLhsl(60, 88%, 47%)
CMYKcmyk(0%, 0%, 94%, 13%)
LABlab(86.3 -19.4 84.2)
LCHlch(86.3 86.4 102.9)
OKLCHoklch(0.875 0.189 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow93.7%
Key (black)12.5%

Color previews

#dfdf0e text on a black background

contrast 14.70:1

Card sample

#dfdf0e text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf0e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf0e in the Color Lab