Skip to content

#dfb162

a balanced, vivid orange · warm · closest name: peru

RGB
223, 177, 98
HSL
38°, 66%, 63%
CMYK
0, 21, 56, 13
Luminance
0.4801

Every format

HEX#dfb162
RGBrgb(223, 177, 98)
HSLhsl(38, 66%, 63%)
CMYKcmyk(0%, 21%, 56%, 13%)
LABlab(74.8 7.6 46.3)
LCHlch(74.8 46.9 80.6)
OKLCHoklch(0.786 0.111 79.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb162 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#dfb162 on black: 10.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.4%
Blue38.4%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow56.1%
Key (black)12.5%

Color previews

#dfb162 text on a black background

contrast 10.60:1

Card sample

#dfb162 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb162

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb162 in the Color Lab