Skip to content

#df802f

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

RGB
223, 128, 47
HSL
28°, 73%, 53%
CMYK
0, 43, 79, 13
Luminance
0.3133

At a glance

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

Hex
#df802f
Hue
28°
orange
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3133
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.27:1
Closest name
Peru
ΔE2000 4.6
Where it sits
Hue28° of 360°
Saturation73%
Lightness53%
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#df802f
RGBrgb(223, 128, 47)
HSLhsl(28, 73%, 53%)
CMYKcmyk(0%, 43%, 79%, 13%)
LABlab(62.8 30.9 56.9)
LCHlch(62.8 64.7 61.5)
OKLCHoklch(0.691 0.148 56.4)
Decimal14647343
Display P3color(display-p3 0.875 0.502 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df802f on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#df802f on black: 7.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9C8B23
deuteranopia · #B3A02F
tritanopia · #F46B70

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df802f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF7F3
#F8EFE7
#F3DCC8
#F0C49E
#E9A66D
#df802f
#D47321
#B1601B
#8D4D16
#663A14
#40240C
Base = 500Lightest = 50 · #FCF7F3Darkest = 950 · #40240C
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F8EFE7;
  --brand-200: #F3DCC8;
  --brand-300: #F0C49E;
  --brand-400: #E9A66D;
  --brand-500: #df802f;
  --brand-600: #D47321;
  --brand-700: #B1601B;
  --brand-800: #8D4D16;
  --brand-900: #663A14;
  --brand-950: #40240C;
  --brand: #df802f;
  --brand-ink: #000000;
}

Colors that work with #df802f

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#EDD4C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#1794B5
Second voice, not a rival
Dark variant#6E3C11
Hover, pressed, headers
Light variant#FCF2E9
Selected rows, tints
Dark surface#241B14
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 #df802f

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#2F8EDF
Analogous left#DF2F36
Analogous right#DFD82F
Split-complement 1#2FDFD8
Split-complement 2#2F36DF
Triadic 1#2FDF80
Triadic 2#802FDF
Tetradic#36DF2F

RGB percentages

Red87.5%
Green50.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow78.9%
Key (black)12.5%

Color previews

#df802f text on a black background

contrast 7.27:1

Card sample

#df802f text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df802f

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.

#df802f 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

Converts to four-color process without much drama. Proof it anyway.

#df802f, answered

What color is #df802f?

#df802f is a balanced vivid orange, closest to Peru (ΔE2000 4.6). It sits at 28° on the hue wheel with 73% saturation and 53% lightness, which reads as warm.

What is the RGB value of #df802f?

rgb(223, 128, 47) — 223 red, 128 green and 47 blue out of 255, or 87.5% / 50.2% / 18.4% by channel.

Is #df802f a light or a dark color?

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

Should I use black or white text on #df802f?

Black. It scores 7.27:1 against #df802f, versus 2.89:1 for white — AAA at any size.

What is the complementary color of #df802f?

#2F8EDF sits directly opposite on the wheel. Softer options are the split-complements #2FDFD8 and #2F36DF, which give the same contrast with far less vibration.

What colors go well with #df802f?

For interface work: #FAF7F4 as the surface, #EDD4C0 for borders, #9B704B for secondary text, #1794B5 as an accent and #6E3C11 for hover and pressed states. For a palette, the analogous pair #DF2F36 and #DFD82F stays calm, while #2F8EDF is the loudest partner.

What is #df802f in CMYK for printing?

cmyk(0%, 43%, 79%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #df802f 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 #E28A45; nudged cooler, #E13D2C.

Work with #df802f in the Color Lab