Skip to content

#dfb60f

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

RGB
223, 182, 15
HSL
48°, 87%, 47%
CMYK
0, 18, 93, 13
Luminance
0.4918

Every format

HEX#dfb60f
RGBrgb(223, 182, 15)
HSLhsl(48, 87%, 47%)
CMYKcmyk(0%, 18%, 93%, 13%)
LABlab(75.6 1.4 76.0)
LCHlch(75.6 76.0 88.9)
OKLCHoklch(0.790 0.159 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb60f on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#dfb60f on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow93.3%
Key (black)12.5%

Color previews

#dfb60f text on a black background

contrast 10.84:1

Card sample

#dfb60f text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb60f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb60f in the Color Lab