Skip to content

#df9901

a dark, electric yellow · warm · closest name: Goldenrod

RGB
223, 153, 1
HSL
41°, 99%, 44%
CMYK
0, 31, 100, 13
Luminance
0.3847

At a glance

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

Hex
#df9901
Hue
41°
yellow
Saturation
99%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3847
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
8.69:1
Closest name
Goldenrod
ΔE2000 5.1
Where it sits
Hue41° of 360°
Saturation99%
Lightness44%
Temperature
Warm ← → Cool9% 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#df9901
RGBrgb(223, 153, 1)
HSLhsl(41, 99%, 44%)
CMYKcmyk(0%, 31%, 100%, 13%)
LABlab(68.4 16.7 72.7)
LCHlch(68.4 74.5 77.1)
OKLCHoklch(0.733 0.154 76.1)
Decimal14653697
Display P3color(display-p3 0.875 0.600 0.004)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9901 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#df9901 on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B29D00
deuteranopia · #C3AE10
tritanopia · #F48682

Color scale — 50 to 950

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

#FEFAF1
#FCF4E3
#FBE9C0
#FEDB8F
#FECA57
#FEB820
#F4A701
#df9901
#A27001
#755205
#493303
Base = 700Lightest = 50 · #FEFAF1Darkest = 950 · #493303
:root {
  --brand-50: #FEFAF1;
  --brand-100: #FCF4E3;
  --brand-200: #FBE9C0;
  --brand-300: #FEDB8F;
  --brand-400: #FECA57;
  --brand-500: #FEB820;
  --brand-600: #F4A701;
  --brand-700: #df9901;
  --brand-800: #A27001;
  --brand-900: #755205;
  --brand-950: #493303;
  --brand: #df9901;
  --brand-ink: #000000;
}

Colors that work with #df9901

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#EDDFC0
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#007EE0
Second voice, not a rival
Dark variant#7F5701
Hover, pressed, headers
Light variant#FFF7E6
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 #df9901

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#0147DF
Analogous left#DF2A01
Analogous right#B6DF01
Split-complement 1#01B6DF
Split-complement 2#2A01DF
Triadic 1#01DF99
Triadic 2#9901DF
Tetradic#01DF2A

RGB percentages

Red87.5%
Green60.0%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow99.6%
Key (black)12.5%

Color previews

#df9901 text on a black background

contrast 8.69:1

Card sample

#df9901 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 153, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 153, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df9901;
background: linear-gradient(135deg, #df9901, #91DF01);

Monochromatic scale

Palettes built from #df9901

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.

#df9901 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#df9901, answered

What color is #df9901?

#df9901 is a dark electric yellow, closest to Goldenrod (ΔE2000 5.1). It sits at 41° on the hue wheel with 99% saturation and 44% lightness, which reads as warm.

What is the RGB value of #df9901?

rgb(223, 153, 1) — 223 red, 153 green and 1 blue out of 255, or 87.5% / 60% / 0.4% by channel.

Is #df9901 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3847 and perceived brightness is 66%, so black text on it reaches 8.69:1.

Should I use black or white text on #df9901?

Black. It scores 8.69:1 against #df9901, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #df9901?

#0147DF sits directly opposite on the wheel. Softer options are the split-complements #01B6DF and #2A01DF, which give the same contrast with far less vibration.

What colors go well with #df9901?

For interface work: #FAF8F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #007EE0 as an accent and #7F5701 for hover and pressed states. For a palette, the analogous pair #DF2A01 and #B6DF01 stays calm, while #0147DF is the loudest partner.

What is #df9901 in CMYK for printing?

cmyk(0%, 31%, 100%, 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 #df9901 warm or cool?

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

Work with #df9901 in the Color Lab