Skip to content

#9c7313

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

RGB
156, 115, 19
HSL
42°, 78%, 34%
CMYK
0, 26, 88, 39
Luminance
0.1938

At a glance

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

Hex
#9c7313
Hue
42°
yellow
Saturation
78%
electric
Lightness
34%
dark
Brightness
61%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1938
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
4.88:1
Closest name
Dark Goldenrod
ΔE2000 8.1
Where it sits
Hue42° of 360°
Saturation78%
Lightness34%
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#9c7313
RGBrgb(156, 115, 19)
HSLhsl(42, 78%, 34%)
CMYKcmyk(0%, 26%, 88%, 39%)
LABlab(51.1 7.9 53.4)
LCHlch(51.1 53.9 81.6)
OKLCHoklch(0.582 0.114 82.2)
Decimal10253075
Display P3color(display-p3 0.612 0.451 0.075)

Copy-ready code

/* CSS */
color: #9c7313;
background-color: #9c7313;
/* Tailwind (arbitrary) */
class="text-[#9c7313] bg-[#9c7313]"
/* SCSS */
$brand: #9c7313;
/* SwiftUI */
Color(red: 0.612, green: 0.451, blue: 0.075)
/* Android */
Color.parseColor("#9c7313")
/* Flutter */
Color(0xFF9C7313)
/* Python / OpenCV (BGR) */
(19, 115, 156)

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

Accessibility — WCAG contrast

Aa
#9c7313 on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#9c7313 on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #847400
deuteranopia · #8D7E19
tritanopia · #AA6762

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9c7313 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
#EDC569
#E7B237
#DAA11B
#B68616
#9c7313
#694F11
#42310B
Base = 800Lightest = 50 · #FCF9F3Darkest = 950 · #42310B
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E6;
  --brand-200: #F5E7C7;
  --brand-300: #F3D89B;
  --brand-400: #EDC569;
  --brand-500: #E7B237;
  --brand-600: #DAA11B;
  --brand-700: #B68616;
  --brand-800: #9c7313;
  --brand-900: #694F11;
  --brand-950: #42310B;
  --brand: #9c7313;
  --brand-ink: #000000;
}

Colors that work with #9c7313

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#9B834B
Captions on the surface
Accent#0F5F9F
Second voice, not a rival
Dark variant#72540E
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 #9c7313

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#133C9C
Analogous left#9C2E13
Analogous right#819C13
Split-complement 1#13819C
Split-complement 2#2E139C
Triadic 1#139C73
Triadic 2#73139C
Tetradic#139C2E

RGB percentages

Red61.2%
Green45.1%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta26.3%
Yellow87.8%
Key (black)38.8%

Color previews

#9c7313 text on a black background

contrast 4.88:1

Card sample

#9c7313 text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c7313

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.

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

#9c7313, answered

What color is #9c7313?

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

What is the RGB value of #9c7313?

rgb(156, 115, 19) — 156 red, 115 green and 19 blue out of 255, or 61.2% / 45.1% / 7.5% by channel.

Is #9c7313 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1938 and perceived brightness is 48%, so black text on it reaches 4.88:1.

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

Black. It scores 4.88:1 against #9c7313, versus 4.31:1 for white — AA at any size.

What is the complementary color of #9c7313?

#133C9C sits directly opposite on the wheel. Softer options are the split-complements #13819C and #2E139C, which give the same contrast with far less vibration.

What colors go well with #9c7313?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B834B for secondary text, #0F5F9F as an accent and #72540E for hover and pressed states. For a palette, the analogous pair #9C2E13 and #819C13 stays calm, while #133C9C is the loudest partner.

What is #9c7313 in CMYK for printing?

cmyk(0%, 26%, 88%, 39%). 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 #9c7313 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 #9C5B13; nudged cooler, #949E11.

Work with #9c7313 in the Color Lab