Skip to content

#df9402

a dark, electric orange · warm · closest name: Orange

RGB
223, 148, 2
HSL
40°, 98%, 44%
CMYK
0, 34, 99, 13
Luminance
0.3687

At a glance

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

Hex
#df9402
Hue
40°
orange
Saturation
98%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3687
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
8.37:1
Closest name
Orange
ΔE2000 6.4
Where it sits
Hue40° of 360°
Saturation98%
Lightness44%
Temperature
Warm ← → Cool8% 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#df9402
RGBrgb(223, 148, 2)
HSLhsl(40, 98%, 44%)
CMYKcmyk(0%, 34%, 99%, 13%)
LABlab(67.2 19.4 71.7)
LCHlch(67.2 74.3 74.9)
OKLCHoklch(0.724 0.154 73.1)
Decimal14652418
Display P3color(display-p3 0.875 0.580 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9402 on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#df9402 on black: 8.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AE9900
deuteranopia · #C0AB0F
tritanopia · #F4817E

Color scale — 50 to 950

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

#FDF9F1
#FCF4E3
#FBE7C1
#FED990
#FDC558
#FDB221
#df9402
#CA8602
#A26B01
#744F06
#493104
Base = 600Lightest = 50 · #FDF9F1Darkest = 950 · #493104
:root {
  --brand-50: #FDF9F1;
  --brand-100: #FCF4E3;
  --brand-200: #FBE7C1;
  --brand-300: #FED990;
  --brand-400: #FDC558;
  --brand-500: #FDB221;
  --brand-600: #df9402;
  --brand-700: #CA8602;
  --brand-800: #A26B01;
  --brand-900: #744F06;
  --brand-950: #493104;
  --brand: #df9402;
  --brand-ink: #000000;
}

Colors that work with #df9402

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#EDDDC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#0085E1
Second voice, not a rival
Dark variant#7E5401
Hover, pressed, headers
Light variant#FFF6E6
Selected rows, tints
Dark surface#241F14
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 #df9402

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#024DDF
Analogous left#DF2502
Analogous right#BCDF02
Split-complement 1#02BCDF
Split-complement 2#2502DF
Triadic 1#02DF94
Triadic 2#9402DF
Tetradic#02DF25

RGB percentages

Red87.5%
Green58.0%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta33.6%
Yellow99.1%
Key (black)12.5%

Color previews

#df9402 text on a black background

contrast 8.37:1

Card sample

#df9402 text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 148, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 148, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df9402;
background: linear-gradient(135deg, #df9402, #97DF02);

Monochromatic scale

Palettes built from #df9402

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.

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

#df9402, answered

What color is #df9402?

#df9402 is a dark electric orange, closest to Orange (ΔE2000 6.4). It sits at 40° on the hue wheel with 98% saturation and 44% lightness, which reads as warm.

What is the RGB value of #df9402?

rgb(223, 148, 2) — 223 red, 148 green and 2 blue out of 255, or 87.5% / 58% / 0.8% by channel.

Is #df9402 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3687 and perceived brightness is 65%, so black text on it reaches 8.37:1.

Should I use black or white text on #df9402?

Black. It scores 8.37:1 against #df9402, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #df9402?

#024DDF sits directly opposite on the wheel. Softer options are the split-complements #02BCDF and #2502DF, which give the same contrast with far less vibration.

What colors go well with #df9402?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B804B for secondary text, #0085E1 as an accent and #7E5401 for hover and pressed states. For a palette, the analogous pair #DF2502 and #BCDF02 stays calm, while #024DDF is the loudest partner.

What is #df9402 in CMYK for printing?

cmyk(0%, 34%, 99%, 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 #df9402 warm or cool?

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

Work with #df9402 in the Color Lab