Skip to content

#df9d0f

a balanced, electric yellow · warm · closest name: orange

RGB
223, 157, 15
HSL
41°, 87%, 47%
CMYK
0, 30, 93, 13
Luminance
0.3984

Every format

HEX#df9d0f
RGBrgb(223, 157, 15)
HSLhsl(41, 87%, 47%)
CMYKcmyk(0%, 30%, 93%, 13%)
LABlab(69.4 14.7 71.5)
LCHlch(69.4 73.0 78.4)
OKLCHoklch(0.741 0.152 78.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9d0f on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#df9d0f on black: 8.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.6%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta29.6%
Yellow93.3%
Key (black)12.5%

Color previews

#df9d0f text on a black background

contrast 8.97:1

Card sample

#df9d0f text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 157, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 157, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df9d0f;
background: linear-gradient(135deg, #df9d0f, #96DF0F);

Monochromatic scale

Palettes built from #df9d0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9d0f in the Color Lab