Skip to content

#d17b13

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

RGB
209, 123, 19
HSL
33°, 83%, 45%
CMYK
0, 41, 91, 18
Luminance
0.2777

At a glance

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

Hex
#d17b13
Hue
33°
orange
Saturation
83%
electric
Lightness
45%
dark
Brightness
82%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2777
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.55:1
Closest name
Peru
ΔE2000 4.7
Where it sits
Hue33° of 360°
Saturation83%
Lightness45%
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#d17b13
RGBrgb(209, 123, 19)
HSLhsl(33, 83%, 45%)
CMYKcmyk(0%, 41%, 91%, 18%)
LABlab(59.7 27.0 62.8)
LCHlch(59.7 68.4 66.8)
OKLCHoklch(0.662 0.147 62.4)
Decimal13728531
Display P3color(display-p3 0.820 0.482 0.075)

Copy-ready code

/* CSS */
color: #d17b13;
background-color: #d17b13;
/* Tailwind (arbitrary) */
class="text-[#d17b13] bg-[#d17b13]"
/* SCSS */
$brand: #d17b13;
/* SwiftUI */
Color(red: 0.820, green: 0.482, blue: 0.075)
/* Android */
Color.parseColor("#d17b13")
/* Flutter */
Color(0xFFD17B13)
/* Python / OpenCV (BGR) */
(19, 123, 209)

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 #d17b13 · 6.55:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.20:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.55:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d17b13 as text scores 3.20:1 on white and 6.55:1 on black.

Accessibility — WCAG contrast

Aa
#d17b13 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#d17b13 on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #968400
deuteranopia · #AA9815
tritanopia · #E56769

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d17b13 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
#FAF1E6
#F6E0C6
#F6CB98
#F1B165
#EC9831
#d17b13
#BB6E11
#96580E
#6C420E
#442909
Base = 600Lightest = 50 · #FCF8F2Darkest = 950 · #442909
:root {
  --brand-50: #FCF8F2;
  --brand-100: #FAF1E6;
  --brand-200: #F6E0C6;
  --brand-300: #F6CB98;
  --brand-400: #F1B165;
  --brand-500: #EC9831;
  --brand-600: #d17b13;
  --brand-700: #BB6E11;
  --brand-800: #96580E;
  --brand-900: #6C420E;
  --brand-950: #442909;
  --brand: #d17b13;
  --brand-ink: #000000;
}

Colors that work with #d17b13

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#0E9AD5
Second voice, not a rival
Dark variant#75450B
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 #d17b13

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#1369D1
Analogous left#D11C13
Analogous right#C8D113
Split-complement 1#13C8D1
Split-complement 2#1C13D1
Triadic 1#13D17B
Triadic 2#7B13D1
Tetradic#13D11C

RGB percentages

Red82.0%
Green48.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta41.1%
Yellow90.9%
Key (black)18.0%

Color previews

#d17b13 text on a black background

contrast 6.55:1

Card sample

#d17b13 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 123, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 123, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d17b13;
background: linear-gradient(135deg, #d17b13, #A8D113);

Monochromatic scale

Palettes built from #d17b13

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.

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

#d17b13, answered

What color is #d17b13?

#d17b13 is a dark electric orange, closest to Peru (ΔE2000 4.7). It sits at 33° on the hue wheel with 83% saturation and 45% lightness, which reads as warm.

What is the RGB value of #d17b13?

rgb(209, 123, 19) — 209 red, 123 green and 19 blue out of 255, or 82% / 48.2% / 7.5% by channel.

Is #d17b13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2777 and perceived brightness is 58%, so black text on it reaches 6.55:1.

Should I use black or white text on #d17b13?

Black. It scores 6.55:1 against #d17b13, versus 3.20:1 for white — AA at any size.

What is the complementary color of #d17b13?

#1369D1 sits directly opposite on the wheel. Softer options are the split-complements #13C8D1 and #1C13D1, which give the same contrast with far less vibration.

What colors go well with #d17b13?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B764B for secondary text, #0E9AD5 as an accent and #75450B for hover and pressed states. For a palette, the analogous pair #D11C13 and #C8D113 stays calm, while #1369D1 is the loudest partner.

What is #d17b13 in CMYK for printing?

cmyk(0%, 41%, 91%, 18%). 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 #d17b13 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 #E87B15; nudged cooler, #D3C211.

Work with #d17b13 in the Color Lab