Skip to content

#dfb65c

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

RGB
223, 182, 92
HSL
41°, 67%, 62%
CMYK
0, 18, 59, 13
Luminance
0.4992

Every format

HEX#dfb65c
RGBrgb(223, 182, 92)
HSLhsl(41, 67%, 62%)
CMYKcmyk(0%, 18%, 59%, 13%)
LABlab(76.0 4.5 50.6)
LCHlch(76.0 50.8 84.9)
OKLCHoklch(0.795 0.118 85.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb65c on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#dfb65c on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow58.7%
Key (black)12.5%

Color previews

#dfb65c text on a black background

contrast 10.98:1

Card sample

#dfb65c text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb65c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb65c in the Color Lab