Skip to content

#df8317

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

RGB
223, 131, 23
HSL
32°, 81%, 48%
CMYK
0, 41, 90, 13
Luminance
0.3198

At a glance

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

Hex
#df8317
Hue
32°
orange
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3198
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.40:1
Closest name
Peru
ΔE2000 5.2
Where it sits
Hue32° 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#df8317
RGBrgb(223, 131, 23)
HSLhsl(32, 81%, 48%)
CMYKcmyk(0%, 41%, 90%, 13%)
LABlab(63.3 28.7 65.4)
LCHlch(63.3 71.4 66.3)
OKLCHoklch(0.695 0.154 61.8)
Decimal14648087
Display P3color(display-p3 0.875 0.514 0.090)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8317 on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#df8317 on black: 7.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A08C00
deuteranopia · #B5A218
tritanopia · #F46E70

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df8317 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
#F6E0C6
#F5CB99
#EFB066
#EA9634
#df8317
#B96D13
#94570F
#6B410F
#43290A
Base = 600Lightest = 50 · #FCF8F2Darkest = 950 · #43290A
:root {
  --brand-50: #FCF8F2;
  --brand-100: #F9F0E6;
  --brand-200: #F6E0C6;
  --brand-300: #F5CB99;
  --brand-400: #EFB066;
  --brand-500: #EA9634;
  --brand-600: #df8317;
  --brand-700: #B96D13;
  --brand-800: #94570F;
  --brand-900: #6B410F;
  --brand-950: #43290A;
  --brand: #df8317;
  --brand-ink: #000000;
}

Colors that work with #df8317

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#EDD8C0
Hairlines and dividers
Muted text#9B764B
Captions on the surface
Accent#0F8BBD
Second voice, not a rival
Dark variant#74440C
Hover, pressed, headers
Light variant#FDF3E8
Selected rows, tints
Dark surface#241D14
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 #df8317

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#1773DF
Analogous left#DF1F17
Analogous right#D7DF17
Split-complement 1#17D7DF
Split-complement 2#1F17DF
Triadic 1#17DF83
Triadic 2#8317DF
Tetradic#17DF1F

RGB percentages

Red87.5%
Green51.4%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta41.3%
Yellow89.7%
Key (black)12.5%

Color previews

#df8317 text on a black background

contrast 7.40:1

Card sample

#df8317 text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8317

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.

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

#df8317, answered

What color is #df8317?

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

What is the RGB value of #df8317?

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

Is #df8317 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3198 and perceived brightness is 62%, so black text on it reaches 7.40:1.

Should I use black or white text on #df8317?

Black. It scores 7.40:1 against #df8317, versus 2.84:1 for white — AAA at any size.

What is the complementary color of #df8317?

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

What colors go well with #df8317?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B764B for secondary text, #0F8BBD as an accent and #74440C for hover and pressed states. For a palette, the analogous pair #DF1F17 and #D7DF17 stays calm, while #1773DF is the loudest partner.

What is #df8317 in CMYK for printing?

cmyk(0%, 41%, 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 #df8317 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 #E98327; nudged cooler, #E1C415.

Work with #df8317 in the Color Lab