Skip to content

#dfb63b

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

RGB
223, 182, 59
HSL
45°, 72%, 55%
CMYK
0, 18, 74, 13
Luminance
0.4946

Every format

HEX#dfb63b
RGBrgb(223, 182, 59)
HSLhsl(45, 72%, 55%)
CMYKcmyk(0%, 18%, 74%, 13%)
LABlab(75.7 2.6 64.6)
LCHlch(75.7 64.6 87.7)
OKLCHoklch(0.792 0.142 89.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.4%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow73.5%
Key (black)12.5%

Color previews

#dfb63b text on a black background

contrast 10.89:1

Card sample

#dfb63b text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb63b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb63b in the Color Lab