Skip to content

#dfb019

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

RGB
223, 176, 25
HSL
46°, 80%, 49%
CMYK
0, 21, 89, 13
Luminance
0.4681

Every format

HEX#dfb019
RGBrgb(223, 176, 25)
HSLhsl(46, 80%, 49%)
CMYKcmyk(0%, 21%, 89%, 13%)
LABlab(74.1 4.7 73.2)
LCHlch(74.1 73.4 86.3)
OKLCHoklch(0.778 0.154 88.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue9.8%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow88.8%
Key (black)12.5%

Color previews

#dfb019 text on a black background

contrast 10.36:1

Card sample

#dfb019 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb019

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb019 in the Color Lab