Skip to content

#dfb608

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

RGB
223, 182, 8
HSL
49°, 93%, 45%
CMYK
0, 18, 96, 13
Luminance
0.4916

Every format

HEX#dfb608
RGBrgb(223, 182, 8)
HSLhsl(49, 93%, 45%)
CMYKcmyk(0%, 18%, 96%, 13%)
LABlab(75.5 1.3 76.8)
LCHlch(75.5 76.9 89.0)
OKLCHoklch(0.790 0.161 92.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.4%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow96.4%
Key (black)12.5%

Color previews

#dfb608 text on a black background

contrast 10.83:1

Card sample

#dfb608 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb608 in the Color Lab