Skip to content

#dfb01b

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

RGB
223, 176, 27
HSL
46°, 78%, 49%
CMYK
0, 21, 88, 13
Luminance
0.4682

Every format

HEX#dfb01b
RGBrgb(223, 176, 27)
HSLhsl(46, 78%, 49%)
CMYKcmyk(0%, 21%, 88%, 13%)
LABlab(74.1 4.8 72.8)
LCHlch(74.1 73.0 86.3)
OKLCHoklch(0.778 0.154 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue10.6%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow87.9%
Key (black)12.5%

Color previews

#dfb01b text on a black background

contrast 10.36:1

Card sample

#dfb01b text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb01b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb01b in the Color Lab