Skip to content

#df791c

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

RGB
223, 121, 28
HSL
29°, 78%, 49%
CMYK
0, 46, 87, 13
Luminance
0.2945

At a glance

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

Hex
#df791c
Hue
29°
orange
Saturation
78%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2945
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.89:1
Closest name
Chocolate
ΔE2000 5.8
Where it sits
Hue29° of 360°
Saturation78%
Lightness49%
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#df791c
RGBrgb(223, 121, 28)
HSLhsl(29, 78%, 49%)
CMYKcmyk(0%, 46%, 87%, 13%)
LABlab(61.2 34.0 62.4)
LCHlch(61.2 71.0 61.4)
OKLCHoklch(0.678 0.158 55.7)
Decimal14645532
Display P3color(display-p3 0.875 0.475 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df791c on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#df791c on black: 6.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #978500
deuteranopia · #B09D1B
tritanopia · #F56268

Color scale — 50 to 950

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

#FCF7F3
#F9EFE6
#F5DDC7
#F2C59B
#ECA869
#E68B38
#df791c
#B56217
#914F12
#693B11
#42250B
Base = 600Lightest = 50 · #FCF7F3Darkest = 950 · #42250B
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EFE6;
  --brand-200: #F5DDC7;
  --brand-300: #F2C59B;
  --brand-400: #ECA869;
  --brand-500: #E68B38;
  --brand-600: #df791c;
  --brand-700: #B56217;
  --brand-800: #914F12;
  --brand-900: #693B11;
  --brand-950: #42250B;
  --brand: #df791c;
  --brand-ink: #000000;
}

Colors that work with #df791c

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#EDD5C0
Hairlines and dividers
Muted text#9B714B
Captions on the surface
Accent#1393B9
Second voice, not a rival
Dark variant#713D0E
Hover, pressed, headers
Light variant#FCF2E8
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 #df791c

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#1C82DF
Analogous left#DF1C21
Analogous right#DFDA1C
Split-complement 1#1CDFDA
Split-complement 2#1C21DF
Triadic 1#1CDF79
Triadic 2#791CDF
Tetradic#21DF1C

RGB percentages

Red87.5%
Green47.5%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta45.7%
Yellow87.4%
Key (black)12.5%

Color previews

#df791c text on a black background

contrast 6.89:1

Card sample

#df791c text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df791c

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.

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

#df791c, answered

What color is #df791c?

#df791c is a balanced electric orange, closest to Chocolate (ΔE2000 5.8). It sits at 29° on the hue wheel with 78% saturation and 49% lightness, which reads as warm.

What is the RGB value of #df791c?

rgb(223, 121, 28) — 223 red, 121 green and 28 blue out of 255, or 87.5% / 47.5% / 11% by channel.

Is #df791c a light or a dark color?

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

Should I use black or white text on #df791c?

Black. It scores 6.89:1 against #df791c, versus 3.05:1 for white — AA at any size.

What is the complementary color of #df791c?

#1C82DF sits directly opposite on the wheel. Softer options are the split-complements #1CDFDA and #1C21DF, which give the same contrast with far less vibration.

What colors go well with #df791c?

For interface work: #FAF7F4 as the surface, #EDD5C0 for borders, #9B714B for secondary text, #1393B9 as an accent and #713D0E for hover and pressed states. For a palette, the analogous pair #DF1C21 and #DFDA1C stays calm, while #1C82DF is the loudest partner.

What is #df791c in CMYK for printing?

cmyk(0%, 46%, 87%, 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 #df791c 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 #E5812F; nudged cooler, #E12F19.

Work with #df791c in the Color Lab