Skip to content

#df9f1d

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

RGB
223, 159, 29
HSL
40°, 77%, 49%
CMYK
0, 29, 87, 13
Luminance
0.4057

At a glance

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

Hex
#df9f1d
Hue
40°
yellow
Saturation
77%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4057
WCAG relative
Temperature
Warm
8/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
9.11:1
Closest name
Goldenrod
ΔE2000 3.3
Where it sits
Hue40° of 360°
Saturation77%
Lightness49%
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#df9f1d
RGBrgb(223, 159, 29)
HSLhsl(40, 77%, 49%)
CMYKcmyk(0%, 29%, 87%, 13%)
LABlab(69.9 13.8 69.0)
LCHlch(69.9 70.4 78.7)
OKLCHoklch(0.745 0.149 78.3)
Decimal14655261
Display P3color(display-p3 0.875 0.624 0.114)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9f1d on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#df9f1d on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7A100
deuteranopia · #C6B125
tritanopia · #F38D88

Color scale — 50 to 950

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

#FCF9F3
#F9F3E7
#F4E5C7
#F2D69C
#ECC16A
#E5AC38
#df9f1d
#B58117
#906713
#694C12
#412F0B
Base = 600Lightest = 50 · #FCF9F3Darkest = 950 · #412F0B
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E7;
  --brand-200: #F4E5C7;
  --brand-300: #F2D69C;
  --brand-400: #ECC16A;
  --brand-500: #E5AC38;
  --brand-600: #df9f1d;
  --brand-700: #B58117;
  --brand-800: #906713;
  --brand-900: #694C12;
  --brand-950: #412F0B;
  --brand: #df9f1d;
  --brand-ink: #000000;
}

Colors that work with #df9f1d

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#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#188EE4
Second voice, not a rival
Dark variant#71500F
Hover, pressed, headers
Light variant#FCF6E8
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 #df9f1d

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
  • 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#1D5DDF
Analogous left#DF3E1D
Analogous right#BEDF1D
Split-complement 1#1DBEDF
Split-complement 2#3E1DDF
Triadic 1#1DDF9F
Triadic 2#9F1DDF
Tetradic#1DDF3E

RGB percentages

Red87.5%
Green62.4%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta28.7%
Yellow87.0%
Key (black)12.5%

Color previews

#df9f1d text on a black background

contrast 9.11:1

Card sample

#df9f1d text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 159, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 159, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df9f1d;
background: linear-gradient(135deg, #df9f1d, #9EDF1D);

Monochromatic scale

Palettes built from #df9f1d

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.

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

#df9f1d, answered

What color is #df9f1d?

#df9f1d is a balanced electric yellow, closest to Goldenrod (ΔE2000 3.3). It sits at 40° on the hue wheel with 77% saturation and 49% lightness, which reads as warm.

What is the RGB value of #df9f1d?

rgb(223, 159, 29) — 223 red, 159 green and 29 blue out of 255, or 87.5% / 62.4% / 11.4% by channel.

Is #df9f1d a light or a dark color?

It is a mid-tone. Relative luminance is 0.4057 and perceived brightness is 68%, so black text on it reaches 9.11:1.

Should I use black or white text on #df9f1d?

Black. It scores 9.11:1 against #df9f1d, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #df9f1d?

#1D5DDF sits directly opposite on the wheel. Softer options are the split-complements #1DBEDF and #3E1DDF, which give the same contrast with far less vibration.

What colors go well with #df9f1d?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #188EE4 as an accent and #71500F for hover and pressed states. For a palette, the analogous pair #DF3E1D and #BEDF1D stays calm, while #1D5DDF is the loudest partner.

What is #df9f1d in CMYK for printing?

cmyk(0%, 29%, 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 #df9f1d 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 #DF851D; nudged cooler, #DAE11A.

Work with #df9f1d in the Color Lab