Skip to content

#df780a

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

RGB
223, 120, 10
HSL
31°, 91%, 46%
CMYK
0, 46, 96, 13
Luminance
0.2914

At a glance

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

Hex
#df780a
Hue
31°
orange
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2914
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.83:1
Closest name
Peru
ΔE2000 6.2
Where it sits
Hue31° of 360°
Saturation91%
Lightness46%
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#df780a
RGBrgb(223, 120, 10)
HSLhsl(31, 91%, 46%)
CMYKcmyk(0%, 46%, 96%, 13%)
LABlab(60.9 34.3 66.4)
LCHlch(60.9 74.7 62.7)
OKLCHoklch(0.676 0.162 56.8)
Decimal14645258
Display P3color(display-p3 0.875 0.471 0.039)

Copy-ready code

/* CSS */
color: #df780a;
background-color: #df780a;
/* Tailwind (arbitrary) */
class="text-[#df780a] bg-[#df780a]"
/* SCSS */
$brand: #df780a;
/* SwiftUI */
Color(red: 0.875, green: 0.471, blue: 0.039)
/* Android */
Color.parseColor("#df780a")
/* Flutter */
Color(0xFFDF780A)
/* Python / OpenCV (BGR) */
(10, 120, 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 #df780a · 6.83:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.08:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.83:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #df780a as text scores 3.08:1 on white and 6.83:1 on black.

Accessibility — WCAG contrast

Aa
#df780a on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#df780a on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #978400
deuteranopia · #B09C08
tritanopia · #F56067

Color scale — 50 to 950

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

#FDF8F2
#FBF0E4
#F9DFC3
#FAC994
#F8AD5E
#F59228
#df780a
#C36909
#9C5407
#713F0A
#462706
Base = 600Lightest = 50 · #FDF8F2Darkest = 950 · #462706
:root {
  --brand-50: #FDF8F2;
  --brand-100: #FBF0E4;
  --brand-200: #F9DFC3;
  --brand-300: #FAC994;
  --brand-400: #F8AD5E;
  --brand-500: #F59228;
  --brand-600: #df780a;
  --brand-700: #C36909;
  --brand-800: #9C5407;
  --brand-900: #713F0A;
  --brand-950: #462706;
  --brand: #df780a;
  --brand-ink: #000000;
}

Colors that work with #df780a

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#EDD7C0
Hairlines and dividers
Muted text#9B744B
Captions on the surface
Accent#0493C8
Second voice, not a rival
Dark variant#7A4205
Hover, pressed, headers
Light variant#FEF3E7
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 #df780a

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#0A71DF
Analogous left#DF0E0A
Analogous right#DBDF0A
Split-complement 1#0ADBDF
Split-complement 2#0E0ADF
Triadic 1#0ADF78
Triadic 2#780ADF
Tetradic#0ADF0E

RGB percentages

Red87.5%
Green47.1%
Blue3.9%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow95.5%
Key (black)12.5%

Color previews

#df780a text on a black background

contrast 6.83:1

Card sample

#df780a text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df780a

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.

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

#df780a, answered

What color is #df780a?

#df780a is a balanced electric orange, closest to Peru (ΔE2000 6.2). It sits at 31° on the hue wheel with 91% saturation and 46% lightness, which reads as warm.

What is the RGB value of #df780a?

rgb(223, 120, 10) — 223 red, 120 green and 10 blue out of 255, or 87.5% / 47.1% / 3.9% by channel.

Is #df780a a light or a dark color?

It is a mid-tone. Relative luminance is 0.2914 and perceived brightness is 60%, so black text on it reaches 6.83:1.

Should I use black or white text on #df780a?

Black. It scores 6.83:1 against #df780a, versus 3.08:1 for white — AA at any size.

What is the complementary color of #df780a?

#0A71DF sits directly opposite on the wheel. Softer options are the split-complements #0ADBDF and #0E0ADF, which give the same contrast with far less vibration.

What colors go well with #df780a?

For interface work: #FAF7F4 as the surface, #EDD7C0 for borders, #9B744B for secondary text, #0493C8 as an accent and #7A4205 for hover and pressed states. For a palette, the analogous pair #DF0E0A and #DBDF0A stays calm, while #0A71DF is the loudest partner.

What is #df780a in CMYK for printing?

cmyk(0%, 46%, 96%, 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 #df780a 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 #F47A0E; nudged cooler, #E15F08.

Work with #df780a in the Color Lab