Skip to content

#dfb862

a balanced, vivid yellow · warm · closest name: khaki

RGB
223, 184, 98
HSL
41°, 66%, 63%
CMYK
0, 18, 56, 13
Luminance
0.5085

Every format

HEX#dfb862
RGBrgb(223, 184, 98)
HSLhsl(41, 66%, 63%)
CMYKcmyk(0%, 18%, 56%, 13%)
LABlab(76.6 3.9 48.4)
LCHlch(76.6 48.5 85.3)
OKLCHoklch(0.800 0.114 85.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb862 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#dfb862 on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue38.4%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow56.1%
Key (black)12.5%

Color previews

#dfb862 text on a black background

contrast 11.17:1

Card sample

#dfb862 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb862

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb862 in the Color Lab