Skip to content

#dfb640

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

RGB
223, 182, 64
HSL
45°, 71%, 56%
CMYK
0, 18, 71, 13
Luminance
0.4951

Every format

HEX#dfb640
RGBrgb(223, 182, 64)
HSLhsl(45, 71%, 56%)
CMYKcmyk(0%, 18%, 71%, 13%)
LABlab(75.8 2.9 62.7)
LCHlch(75.8 62.7 87.4)
OKLCHoklch(0.792 0.139 89.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb640 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#dfb640 on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow71.3%
Key (black)12.5%

Color previews

#dfb640 text on a black background

contrast 10.90:1

Card sample

#dfb640 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb640

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb640 in the Color Lab