Skip to content

#d47f13

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

RGB
212, 127, 19
HSL
34°, 84%, 45%
CMYK
0, 40, 91, 17
Luminance
0.2922

At a glance

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

Hex
#d47f13
Hue
34°
orange
Saturation
84%
electric
Lightness
45%
balanced
Brightness
83%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2922
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.84:1
Closest name
Peru
ΔE2000 4.7
Where it sits
Hue34° of 360°
Saturation84%
Lightness45%
Temperature
Warm ← → Cool3% 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#d47f13
RGBrgb(212, 127, 19)
HSLhsl(34, 84%, 45%)
CMYKcmyk(0%, 40%, 91%, 17%)
LABlab(61.0 26.1 64.0)
LCHlch(61.0 69.1 67.8)
OKLCHoklch(0.673 0.148 63.7)
Decimal13926163
Display P3color(display-p3 0.831 0.498 0.075)

Copy-ready code

/* CSS */
color: #d47f13;
background-color: #d47f13;
/* Tailwind (arbitrary) */
class="text-[#d47f13] bg-[#d47f13]"
/* SCSS */
$brand: #d47f13;
/* SwiftUI */
Color(red: 0.831, green: 0.498, blue: 0.075)
/* Android */
Color.parseColor("#d47f13")
/* Flutter */
Color(0xFFD47F13)
/* Python / OpenCV (BGR) */
(19, 127, 212)

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

Accessibility — WCAG contrast

Aa
#d47f13 on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#d47f13 on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9A8700
deuteranopia · #AE9B15
tritanopia · #E86B6D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d47f13 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
#F6E1C5
#F6CD98
#F1B365
#EC9A31
#d47f13
#BB7011
#965A0D
#6C430E
#442A09
Base = 600Lightest = 50 · #FCF8F2Darkest = 950 · #442A09
:root {
  --brand-50: #FCF8F2;
  --brand-100: #FAF1E6;
  --brand-200: #F6E1C5;
  --brand-300: #F6CD98;
  --brand-400: #F1B365;
  --brand-500: #EC9A31;
  --brand-600: #d47f13;
  --brand-700: #BB7011;
  --brand-800: #965A0D;
  --brand-900: #6C430E;
  --brand-950: #442A09;
  --brand: #d47f13;
  --brand-ink: #000000;
}

Colors that work with #d47f13

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#EDD9C0
Hairlines and dividers
Muted text#9B784B
Captions on the surface
Accent#0C88C0
Second voice, not a rival
Dark variant#75460B
Hover, pressed, headers
Light variant#FDF4E8
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 #d47f13

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#1368D4
Analogous left#D41F13
Analogous right#C8D413
Split-complement 1#13C8D4
Split-complement 2#1F13D4
Triadic 1#13D47F
Triadic 2#7F13D4
Tetradic#13D41F

RGB percentages

Red83.1%
Green49.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta40.1%
Yellow91.0%
Key (black)16.9%

Color previews

#d47f13 text on a black background

contrast 6.84:1

Card sample

#d47f13 text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d47f13

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.

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

#d47f13, answered

What color is #d47f13?

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

What is the RGB value of #d47f13?

rgb(212, 127, 19) — 212 red, 127 green and 19 blue out of 255, or 83.1% / 49.8% / 7.5% by channel.

Is #d47f13 a light or a dark color?

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

Should I use black or white text on #d47f13?

Black. It scores 6.84:1 against #d47f13, versus 3.07:1 for white — AA at any size.

What is the complementary color of #d47f13?

#1368D4 sits directly opposite on the wheel. Softer options are the split-complements #13C8D4 and #1F13D4, which give the same contrast with far less vibration.

What colors go well with #d47f13?

For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B784B for secondary text, #0C88C0 as an accent and #75460B for hover and pressed states. For a palette, the analogous pair #D41F13 and #C8D413 stays calm, while #1368D4 is the loudest partner.

What is #d47f13 in CMYK for printing?

cmyk(0%, 40%, 91%, 17%). 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 #d47f13 warm or cool?

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

Work with #d47f13 in the Color Lab