Skip to content

#df7017

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

RGB
223, 112, 23
HSL
27°, 81%, 48%
CMYK
0, 50, 90, 13
Luminance
0.2734

At a glance

Every number on this page in one read: what #df7017 is made of, how bright it looks, and which way it leans.

Hex
#df7017
Hue
27°
orange
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2734
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.47:1
Closest name
Chocolate
ΔE2000 3.5
Where it sits
Hue27° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool2% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df7017
RGBrgb(223, 112, 23)
HSLhsl(27, 81%, 48%)
CMYKcmyk(0%, 50%, 90%, 13%)
LABlab(59.3 38.5 62.4)
LCHlch(59.3 73.3 58.3)
OKLCHoklch(0.663 0.164 51.6)
Decimal14643223
Display P3color(display-p3 0.875 0.439 0.090)

Copy-ready code

/* CSS */
color: #df7017;
background-color: #df7017;
/* Tailwind (arbitrary) */
class="text-[#df7017] bg-[#df7017]"
/* SCSS */
$brand: #df7017;
/* SwiftUI */
Color(red: 0.875, green: 0.439, blue: 0.090)
/* Android */
Color.parseColor("#df7017")
/* Flutter */
Color(0xFFDF7017)
/* Python / OpenCV (BGR) */
(23, 112, 223)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #df7017 · 6.47:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.25:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.47:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #df7017 as text scores 3.25:1 on white and 6.47:1 on black.

Accessibility — WCAG contrast

Aa
#df7017 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#df7017 on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #917F00
deuteranopia · #AB9813
tritanopia · #F55760

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df7017 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF7F2
#F9EFE6
#F6DBC6
#F5C299
#EFA366
#EA8534
#df7017
#B95D13
#944A0F
#6B380F
#43230A
Base = 600Lightest = 50 · #FCF7F2Darkest = 950 · #43230A
:root {
  --brand-50: #FCF7F2;
  --brand-100: #F9EFE6;
  --brand-200: #F6DBC6;
  --brand-300: #F5C299;
  --brand-400: #EFA366;
  --brand-500: #EA8534;
  --brand-600: #df7017;
  --brand-700: #B95D13;
  --brand-800: #944A0F;
  --brand-900: #6B380F;
  --brand-950: #43230A;
  --brand: #df7017;
  --brand-ink: #000000;
}

Colors that work with #df7017

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF7F4
Tinted page background
Border#EDD4C0
Hairlines and dividers
Muted text#9B6E4B
Captions on the surface
Accent#0F9BBD
Second voice, not a rival
Dark variant#743A0C
Hover, pressed, headers
Light variant#FDF1E8
Selected rows, tints
Dark surface#241B14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #df7017

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1786DF
Analogous left#DF1722
Analogous right#DFD417
Split-complement 1#17DFD4
Split-complement 2#1722DF
Triadic 1#17DF70
Triadic 2#7017DF
Tetradic#22DF17

RGB percentages

Red87.5%
Green43.9%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta49.8%
Yellow89.7%
Key (black)12.5%

Color previews

#df7017 text on a black background

contrast 6.47:1

Card sample

#df7017 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7017

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#df7017 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#df7017, answered

What color is #df7017?

#df7017 is a balanced electric orange, closest to Chocolate (ΔE2000 3.5). It sits at 27° on the hue wheel with 81% saturation and 48% lightness, which reads as warm.

What is the RGB value of #df7017?

rgb(223, 112, 23) — 223 red, 112 green and 23 blue out of 255, or 87.5% / 43.9% / 9% by channel.

Is #df7017 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2734 and perceived brightness is 59%, so black text on it reaches 6.47:1.

Should I use black or white text on #df7017?

Black. It scores 6.47:1 against #df7017, versus 3.25:1 for white — AA at any size.

What is the complementary color of #df7017?

#1786DF sits directly opposite on the wheel. Softer options are the split-complements #17DFD4 and #1722DF, which give the same contrast with far less vibration.

What colors go well with #df7017?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B6E4B for secondary text, #0F9BBD as an accent and #743A0C for hover and pressed states. For a palette, the analogous pair #DF1722 and #DFD417 stays calm, while #1786DF is the loudest partner.

What is #df7017 in CMYK for printing?

cmyk(0%, 50%, 90%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #df7017 warm or cool?

Warm — it scores 2 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E97B27; nudged cooler, #E12515.

Work with #df7017 in the Color Lab