Skip to content

#dfbe4b

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

RGB
223, 190, 75
HSL
47°, 70%, 58%
CMYK
0, 15, 66, 13
Luminance
0.5302

Every format

HEX#dfbe4b
RGBrgb(223, 190, 75)
HSLhsl(47, 70%, 58%)
CMYKcmyk(0%, 15%, 66%, 13%)
LABlab(77.9 -0.8 60.3)
LCHlch(77.9 60.3 90.7)
OKLCHoklch(0.809 0.137 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbe4b on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dfbe4b on black: 11.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow66.4%
Key (black)12.5%

Color previews

#dfbe4b text on a black background

contrast 11.60:1

Card sample

#dfbe4b text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe4b in the Color Lab