Skip to content

#dfbe0b

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

RGB
223, 190, 11
HSL
51°, 91%, 46%
CMYK
0, 15, 95, 13
Luminance
0.5254

Every format

HEX#dfbe0b
RGBrgb(223, 190, 11)
HSLhsl(51, 91%, 46%)
CMYKcmyk(0%, 15%, 95%, 13%)
LABlab(77.6 -2.8 78.0)
LCHlch(77.6 78.1 92.1)
OKLCHoklch(0.806 0.164 96.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbe0b on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#dfbe0b on black: 11.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow95.1%
Key (black)12.5%

Color previews

#dfbe0b text on a black background

contrast 11.51:1

Card sample

#dfbe0b text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 190, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 190, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbe0b;
background: linear-gradient(135deg, #dfbe0b, #73DF0B);

Monochromatic scale

Palettes built from #dfbe0b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe0b in the Color Lab