Skip to content

#dfd030

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

RGB
223, 208, 48
HSL
55°, 73%, 53%
CMYK
0, 7, 79, 13
Luminance
0.6101

Every format

HEX#dfd030
RGBrgb(223, 208, 48)
HSLhsl(55, 73%, 53%)
CMYKcmyk(0%, 7%, 79%, 13%)
LABlab(82.4 -11.2 74.4)
LCHlch(82.4 75.2 98.6)
OKLCHoklch(0.844 0.166 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd030 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dfd030 on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow78.5%
Key (black)12.5%

Color previews

#dfd030 text on a black background

contrast 13.20:1

Card sample

#dfd030 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd030

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd030 in the Color Lab