Skip to content

#dfbf45

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

RGB
223, 191, 69
HSL
48°, 71%, 57%
CMYK
0, 14, 69, 13
Luminance
0.5338

Every format

HEX#dfbf45
RGBrgb(223, 191, 69)
HSLhsl(48, 71%, 57%)
CMYKcmyk(0%, 14%, 69%, 13%)
LABlab(78.1 -1.6 63.0)
LCHlch(78.1 63.0 91.5)
OKLCHoklch(0.811 0.141 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbf45 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dfbf45 on black: 11.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow69.1%
Key (black)12.5%

Color previews

#dfbf45 text on a black background

contrast 11.68:1

Card sample

#dfbf45 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 191, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 191, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbf45;
background: linear-gradient(135deg, #dfbf45, #99DF45);

Monochromatic scale

Palettes built from #dfbf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf45 in the Color Lab