Skip to content

#dfb749

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

RGB
223, 183, 73
HSL
44°, 70%, 58%
CMYK
0, 18, 67, 13
Luminance
0.5004

Every format

HEX#dfb749
RGBrgb(223, 183, 73)
HSLhsl(44, 70%, 58%)
CMYKcmyk(0%, 18%, 67%, 13%)
LABlab(76.1 2.8 59.3)
LCHlch(76.1 59.4 87.3)
OKLCHoklch(0.795 0.134 88.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta17.9%
Yellow67.3%
Key (black)12.5%

Color previews

#dfb749 text on a black background

contrast 11.01:1

Card sample

#dfb749 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb749 in the Color Lab