Skip to content

#dfb018

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

RGB
223, 176, 24
HSL
46°, 81%, 48%
CMYK
0, 21, 89, 13
Luminance
0.4680

Every format

HEX#dfb018
RGBrgb(223, 176, 24)
HSLhsl(46, 81%, 48%)
CMYKcmyk(0%, 21%, 89%, 13%)
LABlab(74.1 4.7 73.4)
LCHlch(74.1 73.6 86.3)
OKLCHoklch(0.778 0.155 88.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb018 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#dfb018 on black: 10.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.0%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow89.2%
Key (black)12.5%

Color previews

#dfb018 text on a black background

contrast 10.36:1

Card sample

#dfb018 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb018

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb018 in the Color Lab