Skip to content

#dfbc46

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

RGB
223, 188, 70
HSL
46°, 71%, 58%
CMYK
0, 16, 69, 13
Luminance
0.5210

Every format

HEX#dfbc46
RGBrgb(223, 188, 70)
HSLhsl(46, 71%, 58%)
CMYKcmyk(0%, 16%, 69%, 13%)
LABlab(77.3 0.0 61.8)
LCHlch(77.3 61.8 90.0)
OKLCHoklch(0.805 0.139 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbc46 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#dfbc46 on black: 11.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.7%
Blue27.5%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow68.6%
Key (black)12.5%

Color previews

#dfbc46 text on a black background

contrast 11.42:1

Card sample

#dfbc46 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc46 in the Color Lab