Skip to content

#dfb62c

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

RGB
223, 182, 44
HSL
46°, 74%, 52%
CMYK
0, 18, 80, 13
Luminance
0.4933

Every format

HEX#dfb62c
RGBrgb(223, 182, 44)
HSLhsl(46, 74%, 52%)
CMYKcmyk(0%, 18%, 80%, 13%)
LABlab(75.7 2.0 69.7)
LCHlch(75.7 69.7 88.3)
OKLCHoklch(0.791 0.150 90.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb62c on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#dfb62c on black: 10.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue17.3%

CMYK percentages

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

Color previews

#dfb62c text on a black background

contrast 10.87:1

Card sample

#dfb62c text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb62c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb62c in the Color Lab