Skip to content

#dfbe0f

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

RGB
223, 190, 15
HSL
51°, 87%, 47%
CMYK
0, 15, 93, 13
Luminance
0.5255

Every format

HEX#dfbe0f
RGBrgb(223, 190, 15)
HSLhsl(51, 87%, 47%)
CMYKcmyk(0%, 15%, 93%, 13%)
LABlab(77.6 -2.8 77.6)
LCHlch(77.6 77.6 92.0)
OKLCHoklch(0.806 0.164 96.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow93.3%
Key (black)12.5%

Color previews

#dfbe0f text on a black background

contrast 11.51:1

Card sample

#dfbe0f text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe0f in the Color Lab