Skip to content

#dfd930

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

RGB
223, 217, 48
HSL
58°, 73%, 53%
CMYK
0, 3, 79, 13
Luminance
0.6553

Every format

HEX#dfd930
RGBrgb(223, 217, 48)
HSLhsl(58, 73%, 53%)
CMYKcmyk(0%, 3%, 79%, 13%)
LABlab(84.8 -15.7 76.5)
LCHlch(84.8 78.1 101.6)
OKLCHoklch(0.863 0.174 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd930 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dfd930 on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.1%
Blue18.8%

CMYK percentages

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

Color previews

#dfd930 text on a black background

contrast 14.11:1

Card sample

#dfd930 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd930

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd930 in the Color Lab