Skip to content

#dfb730

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

RGB
223, 183, 48
HSL
46°, 73%, 53%
CMYK
0, 18, 79, 13
Luminance
0.4977

Every format

HEX#dfb730
RGBrgb(223, 183, 48)
HSLhsl(46, 73%, 53%)
CMYKcmyk(0%, 18%, 79%, 13%)
LABlab(75.9 1.6 68.6)
LCHlch(75.9 68.7 88.6)
OKLCHoklch(0.793 0.149 91.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb730 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dfb730 on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.8%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta17.9%
Yellow78.5%
Key (black)12.5%

Color previews

#dfb730 text on a black background

contrast 10.95:1

Card sample

#dfb730 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb730

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb730 in the Color Lab