Skip to content

#9f7413

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

RGB
159, 116, 19
HSL
42°, 79%, 35%
CMYK
0, 27, 88, 38
Luminance
0.1991

At a glance

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

Hex
#9f7413
Hue
42°
yellow
Saturation
79%
electric
Lightness
35%
dark
Brightness
62%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1991
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
4.98:1
Closest name
Dark Goldenrod
ΔE2000 7.4
Where it sits
Hue42° of 360°
Saturation79%
Lightness35%
Temperature
Warm ← → Cool10% 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#9f7413
RGBrgb(159, 116, 19)
HSLhsl(42, 79%, 35%)
CMYKcmyk(0%, 27%, 88%, 38%)
LABlab(51.7 8.7 54.0)
LCHlch(51.7 54.7 80.9)
OKLCHoklch(0.587 0.116 81.2)
Decimal10449939
Display P3color(display-p3 0.624 0.455 0.075)

Copy-ready code

/* CSS */
color: #9f7413;
background-color: #9f7413;
/* Tailwind (arbitrary) */
class="text-[#9f7413] bg-[#9f7413]"
/* SCSS */
$brand: #9f7413;
/* SwiftUI */
Color(red: 0.624, green: 0.455, blue: 0.075)
/* Android */
Color.parseColor("#9f7413")
/* Flutter */
Color(0xFF9F7413)
/* Python / OpenCV (BGR) */
(19, 116, 159)

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 #9f7413 · 4.98:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.22:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.98:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9f7413 as text scores 4.22:1 on white and 4.98:1 on black.

Accessibility — WCAG contrast

Aa
#9f7413 on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#9f7413 on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #857500
deuteranopia · #8F8019
tritanopia · #AE6763

Color scale — 50 to 950

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

#FCF9F3
#F9F3E6
#F5E7C7
#F3D89B
#EDC469
#E7B136
#DBA01A
#B68516
#9f7413
#6A4E11
#42310B
Base = 800Lightest = 50 · #FCF9F3Darkest = 950 · #42310B
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E6;
  --brand-200: #F5E7C7;
  --brand-300: #F3D89B;
  --brand-400: #EDC469;
  --brand-500: #E7B136;
  --brand-600: #DBA01A;
  --brand-700: #B68516;
  --brand-800: #9f7413;
  --brand-900: #6A4E11;
  --brand-950: #42310B;
  --brand: #9f7413;
  --brand-ink: #000000;
}

Colors that work with #9f7413

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#FAF9F4
Tinted page background
Border#EDDFC0
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#0F61A3
Second voice, not a rival
Dark variant#72530E
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 #9f7413

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#133E9F
Analogous left#9F2E13
Analogous right#849F13
Split-complement 1#13849F
Split-complement 2#2E139F
Triadic 1#139F74
Triadic 2#74139F
Tetradic#139F2E

RGB percentages

Red62.4%
Green45.5%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta27.0%
Yellow88.1%
Key (black)37.6%

Color previews

#9f7413 text on a black background

contrast 4.98:1

Card sample

#9f7413 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 116, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 116, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f7413;
background: linear-gradient(135deg, #9f7413, #6D9F13);

Monochromatic scale

Palettes built from #9f7413

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.

#9f7413 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.

#9f7413, answered

What color is #9f7413?

#9f7413 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 7.4). It sits at 42° on the hue wheel with 79% saturation and 35% lightness, which reads as warm.

What is the RGB value of #9f7413?

rgb(159, 116, 19) — 159 red, 116 green and 19 blue out of 255, or 62.4% / 45.5% / 7.5% by channel.

Is #9f7413 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1991 and perceived brightness is 49%, so black text on it reaches 4.98:1.

Should I use black or white text on #9f7413?

Black. It scores 4.98:1 against #9f7413, versus 4.22:1 for white — AA at any size.

What is the complementary color of #9f7413?

#133E9F sits directly opposite on the wheel. Softer options are the split-complements #13849F and #2E139F, which give the same contrast with far less vibration.

What colors go well with #9f7413?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #0F61A3 as an accent and #72530E for hover and pressed states. For a palette, the analogous pair #9F2E13 and #849F13 stays calm, while #133E9F is the loudest partner.

What is #9f7413 in CMYK for printing?

cmyk(0%, 27%, 88%, 38%). 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 #9f7413 warm or cool?

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

Work with #9f7413 in the Color Lab