Skip to content

#df8017

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

RGB
223, 128, 23
HSL
32°, 81%, 48%
CMYK
0, 43, 90, 13
Luminance
0.3119

At a glance

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

Hex
#df8017
Hue
32°
orange
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3119
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.24:1
Closest name
Peru
ΔE2000 5.1
Where it sits
Hue32° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool1% 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#df8017
RGBrgb(223, 128, 23)
HSLhsl(32, 81%, 48%)
CMYKcmyk(0%, 43%, 90%, 13%)
LABlab(62.7 30.2 64.9)
LCHlch(62.7 71.6 65.0)
OKLCHoklch(0.689 0.155 60.1)
Decimal14647319
Display P3color(display-p3 0.875 0.502 0.090)

Copy-ready code

/* CSS */
color: #df8017;
background-color: #df8017;
/* Tailwind (arbitrary) */
class="text-[#df8017] bg-[#df8017]"
/* SCSS */
$brand: #df8017;
/* SwiftUI */
Color(red: 0.875, green: 0.502, blue: 0.090)
/* Android */
Color.parseColor("#df8017")
/* Flutter */
Color(0xFFDF8017)
/* Python / OpenCV (BGR) */
(23, 128, 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 #df8017 · 7.24:1
Use #000000AAA at every size.
Aa
White text · 2.90:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.24:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df8017 as text scores 2.90:1 on white and 7.24:1 on black.

Accessibility — WCAG contrast

Aa
#df8017 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#df8017 on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9D8A00
deuteranopia · #B4A017
tritanopia · #F46A6E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df8017 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.

#FCF8F2
#F9F0E6
#F6DFC6
#F5C999
#EFAE66
#EA9334
#df8017
#B96A13
#94550F
#6B3F0F
#43280A
Base = 600Lightest = 50 · #FCF8F2Darkest = 950 · #43280A
:root {
  --brand-50: #FCF8F2;
  --brand-100: #F9F0E6;
  --brand-200: #F6DFC6;
  --brand-300: #F5C999;
  --brand-400: #EFAE66;
  --brand-500: #EA9334;
  --brand-600: #df8017;
  --brand-700: #B96A13;
  --brand-800: #94550F;
  --brand-900: #6B3F0F;
  --brand-950: #43280A;
  --brand: #df8017;
  --brand-ink: #000000;
}

Colors that work with #df8017

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#FAF8F4
Tinted page background
Border#EDD7C0
Hairlines and dividers
Muted text#9B754B
Captions on the surface
Accent#0F8DBD
Second voice, not a rival
Dark variant#74420C
Hover, pressed, headers
Light variant#FDF3E8
Selected rows, tints
Dark surface#241C14
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 #df8017

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#1776DF
Analogous left#DF1C17
Analogous right#DADF17
Split-complement 1#17DADF
Split-complement 2#1C17DF
Triadic 1#17DF80
Triadic 2#8017DF
Tetradic#17DF1C

RGB percentages

Red87.5%
Green50.2%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow89.7%
Key (black)12.5%

Color previews

#df8017 text on a black background

contrast 7.24:1

Card sample

#df8017 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8017

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.

#df8017 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.

#df8017, answered

What color is #df8017?

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

What is the RGB value of #df8017?

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

Is #df8017 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3119 and perceived brightness is 61%, so black text on it reaches 7.24:1.

Should I use black or white text on #df8017?

Black. It scores 7.24:1 against #df8017, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #df8017?

#1776DF sits directly opposite on the wheel. Softer options are the split-complements #17DADF and #1C17DF, which give the same contrast with far less vibration.

What colors go well with #df8017?

For interface work: #FAF8F4 as the surface, #EDD7C0 for borders, #9B754B for secondary text, #0F8DBD as an accent and #74420C for hover and pressed states. For a palette, the analogous pair #DF1C17 and #DADF17 stays calm, while #1776DF is the loudest partner.

What is #df8017 in CMYK for printing?

cmyk(0%, 43%, 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 #df8017 warm or cool?

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

Work with #df8017 in the Color Lab