Skip to content

#9e7708

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

RGB
158, 119, 8
HSL
44°, 90%, 33%
CMYK
0, 25, 95, 38
Luminance
0.2048

At a glance

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

Hex
#9e7708
Hue
44°
yellow
Saturation
90%
electric
Lightness
33%
dark
Brightness
62%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2048
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
5.10:1
Closest name
Dark Goldenrod
ΔE2000 6.9
Where it sits
Hue44° of 360°
Saturation90%
Lightness33%
Temperature
Warm ← → Cool12% 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#9e7708
RGBrgb(158, 119, 8)
HSLhsl(44, 90%, 33%)
CMYKcmyk(0%, 25%, 95%, 38%)
LABlab(52.4 6.3 56.9)
LCHlch(52.4 57.2 83.7)
OKLCHoklch(0.592 0.119 85.1)
Decimal10385160
Display P3color(display-p3 0.620 0.467 0.031)

Copy-ready code

/* CSS */
color: #9e7708;
background-color: #9e7708;
/* Tailwind (arbitrary) */
class="text-[#9e7708] bg-[#9e7708]"
/* SCSS */
$brand: #9e7708;
/* SwiftUI */
Color(red: 0.620, green: 0.467, blue: 0.031)
/* Android */
Color.parseColor("#9e7708")
/* Flutter */
Color(0xFF9E7708)
/* Python / OpenCV (BGR) */
(8, 119, 158)

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

Accessibility — WCAG contrast

Aa
#9e7708 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#9e7708 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #887700
deuteranopia · #918112
tritanopia · #AC6A65

Color scale — 50 to 950

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

#FDFAF2
#FBF5E5
#F9EBC3
#FADF94
#F7CF5F
#F4BF29
#E9B00C
#C2920A
#9e7708
#70560A
#463606
Base = 800Lightest = 50 · #FDFAF2Darkest = 950 · #463606
:root {
  --brand-50: #FDFAF2;
  --brand-100: #FBF5E5;
  --brand-200: #F9EBC3;
  --brand-300: #FADF94;
  --brand-400: #F7CF5F;
  --brand-500: #F4BF29;
  --brand-600: #E9B00C;
  --brand-700: #C2920A;
  --brand-800: #9e7708;
  --brand-900: #70560A;
  --brand-950: #463606;
  --brand: #9e7708;
  --brand-ink: #000000;
}

Colors that work with #9e7708

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#EDE1C0
Hairlines and dividers
Muted text#9B864B
Captions on the surface
Accent#0554A1
Second voice, not a rival
Dark variant#795B06
Hover, pressed, headers
Light variant#FEF8E7
Selected rows, tints
Dark surface#242014
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 #9e7708

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#082F9E
Analogous left#9E2C08
Analogous right#7A9E08
Split-complement 1#087A9E
Split-complement 2#2C089E
Triadic 1#089E77
Triadic 2#77089E
Tetradic#089E2C

RGB percentages

Red62.0%
Green46.7%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta24.7%
Yellow94.9%
Key (black)38.0%

Color previews

#9e7708 text on a black background

contrast 5.10:1

Card sample

#9e7708 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(158, 119, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 119, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9e7708;
background: linear-gradient(135deg, #9e7708, #619E08);

Monochromatic scale

Palettes built from #9e7708

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.

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

#9e7708, answered

What color is #9e7708?

#9e7708 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 6.9). It sits at 44° on the hue wheel with 90% saturation and 33% lightness, which reads as warm.

What is the RGB value of #9e7708?

rgb(158, 119, 8) — 158 red, 119 green and 8 blue out of 255, or 62% / 46.7% / 3.1% by channel.

Is #9e7708 a light or a dark color?

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

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

Black. It scores 5.10:1 against #9e7708, versus 4.12:1 for white — AA at any size.

What is the complementary color of #9e7708?

#082F9E sits directly opposite on the wheel. Softer options are the split-complements #087A9E and #2C089E, which give the same contrast with far less vibration.

What colors go well with #9e7708?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B864B for secondary text, #0554A1 as an accent and #795B06 for hover and pressed states. For a palette, the analogous pair #9E2C08 and #7A9E08 stays calm, while #082F9E is the loudest partner.

What is #9e7708 in CMYK for printing?

cmyk(0%, 25%, 95%, 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 #9e7708 warm or cool?

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

Work with #9e7708 in the Color Lab