Skip to content

#dfb652

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

RGB
223, 182, 82
HSL
43°, 69%, 60%
CMYK
0, 18, 63, 13
Luminance
0.4975

Every format

HEX#dfb652
RGBrgb(223, 182, 82)
HSLhsl(43, 69%, 60%)
CMYKcmyk(0%, 18%, 63%, 13%)
LABlab(75.9 3.9 55.1)
LCHlch(75.9 55.3 86.0)
OKLCHoklch(0.794 0.127 86.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb652 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dfb652 on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue32.2%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow63.2%
Key (black)12.5%

Color previews

#dfb652 text on a black background

contrast 10.95:1

Card sample

#dfb652 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb652

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb652 in the Color Lab