Skip to content

#df8021

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

RGB
223, 128, 33
HSL
30°, 75%, 50%
CMYK
0, 43, 85, 13
Luminance
0.3124

At a glance

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

Hex
#df8021
Hue
30°
orange
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3124
WCAG relative
Temperature
Warm
0/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.25:1
Closest name
Peru
ΔE2000 4.7
Where it sits
Hue30° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool0% 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#df8021
RGBrgb(223, 128, 33)
HSLhsl(30, 75%, 50%)
CMYKcmyk(0%, 43%, 85%, 13%)
LABlab(62.7 30.4 62.0)
LCHlch(62.7 69.1 63.9)
OKLCHoklch(0.690 0.153 58.9)
Decimal14647329
Display P3color(display-p3 0.875 0.502 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8021 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#df8021 on black: 7.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9D8A09
deuteranopia · #B3A021
tritanopia · #F46A6E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df8021 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
#F9F0E7
#F4DEC8
#F1C79D
#EAAB6C
#E38F3B
#df8021
#B2661A
#8F5215
#673D13
#41260C
Base = 600Lightest = 50 · #FCF7F3Darkest = 950 · #41260C
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9F0E7;
  --brand-200: #F4DEC8;
  --brand-300: #F1C79D;
  --brand-400: #EAAB6C;
  --brand-500: #E38F3B;
  --brand-600: #df8021;
  --brand-700: #B2661A;
  --brand-800: #8F5215;
  --brand-900: #673D13;
  --brand-950: #41260C;
  --brand: #df8021;
  --brand-ink: #000000;
}

Colors that work with #df8021

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#EDD6C0
Hairlines and dividers
Muted text#9B734B
Captions on the surface
Accent#168EB6
Second voice, not a rival
Dark variant#6F4010
Hover, pressed, headers
Light variant#FCF2E9
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 #df8021

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#2180DF
Analogous left#DF2121
Analogous right#DFDF21
Split-complement 1#21DFDF
Split-complement 2#2121DF
Triadic 1#21DF80
Triadic 2#8021DF
Tetradic#21DF21

RGB percentages

Red87.5%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta42.6%
Yellow85.2%
Key (black)12.5%

Color previews

#df8021 text on a black background

contrast 7.25:1

Card sample

#df8021 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8021

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.

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

#df8021, answered

What color is #df8021?

#df8021 is a balanced vivid orange, closest to Peru (ΔE2000 4.7). It sits at 30° on the hue wheel with 75% saturation and 50% lightness, which reads as warm.

What is the RGB value of #df8021?

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

Is #df8021 a light or a dark color?

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

Should I use black or white text on #df8021?

Black. It scores 7.25:1 against #df8021, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #df8021?

#2180DF sits directly opposite on the wheel. Softer options are the split-complements #21DFDF and #2121DF, which give the same contrast with far less vibration.

What colors go well with #df8021?

For interface work: #FAF7F4 as the surface, #EDD6C0 for borders, #9B734B for secondary text, #168EB6 as an accent and #6F4010 for hover and pressed states. For a palette, the analogous pair #DF2121 and #DFDF21 stays calm, while #2180DF is the loudest partner.

What is #df8021 in CMYK for printing?

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

Is #df8021 warm or cool?

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

Work with #df8021 in the Color Lab