Skip to content

#dfb60c

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

RGB
223, 182, 12
HSL
48°, 90%, 46%
CMYK
0, 18, 95, 13
Luminance
0.4917

Every format

HEX#dfb60c
RGBrgb(223, 182, 12)
HSLhsl(48, 90%, 46%)
CMYKcmyk(0%, 18%, 95%, 13%)
LABlab(75.6 1.4 76.4)
LCHlch(75.6 76.4 89.0)
OKLCHoklch(0.790 0.160 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow94.6%
Key (black)12.5%

Color previews

#dfb60c text on a black background

contrast 10.83:1

Card sample

#dfb60c text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb60c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb60c in the Color Lab