Skip to content

#dfb618

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

RGB
223, 182, 24
HSL
48°, 81%, 48%
CMYK
0, 18, 89, 13
Luminance
0.4921

Every format

HEX#dfb618
RGBrgb(223, 182, 24)
HSLhsl(48, 81%, 48%)
CMYKcmyk(0%, 18%, 89%, 13%)
LABlab(75.6 1.6 74.6)
LCHlch(75.6 74.6 88.8)
OKLCHoklch(0.790 0.157 91.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.4%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow89.2%
Key (black)12.5%

Color previews

#dfb618 text on a black background

contrast 10.84:1

Card sample

#dfb618 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb618

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb618 in the Color Lab