Skip to content

#8f6913

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

RGB
143, 105, 19
HSL
42°, 77%, 32%
CMYK
0, 27, 87, 44
Luminance
0.1599

At a glance

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

Hex
#8f6913
Hue
42°
yellow
Saturation
77%
electric
Lightness
32%
dark
Brightness
56%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1599
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.00:1
Closest name
Dark Goldenrod
ΔE2000 12.5
Where it sits
Hue42° of 360°
Saturation77%
Lightness32%
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#8f6913
RGBrgb(143, 105, 19)
HSLhsl(42, 77%, 32%)
CMYKcmyk(0%, 27%, 87%, 44%)
LABlab(47.0 7.5 49.3)
LCHlch(47.0 49.9 81.3)
OKLCHoklch(0.545 0.106 81.8)
Decimal9398547
Display P3color(display-p3 0.561 0.412 0.075)

Copy-ready code

/* CSS */
color: #8f6913;
background-color: #8f6913;
/* Tailwind (arbitrary) */
class="text-[#8f6913] bg-[#8f6913]"
/* SCSS */
$brand: #8f6913;
/* SwiftUI */
Color(red: 0.561, green: 0.412, blue: 0.075)
/* Android */
Color.parseColor("#8f6913")
/* Flutter */
Color(0xFF8F6913)
/* Python / OpenCV (BGR) */
(19, 105, 143)

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#ffffff on #8f6913 · 5.00:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.00:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.20:1
AA fail · AA large pass · AAA fail
Reading the other direction: #8f6913 as text scores 5.00:1 on white and 4.20:1 on black.

Accessibility — WCAG contrast

Aa
#8f6913 on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#8f6913 on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #786A00
deuteranopia · #817318
tritanopia · #9C5E59

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8f6913 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
#F9F3E7
#F4E6C8
#F2D79C
#EBC46A
#E5B039
#D89F1D
#B48418
#8f6913
#684E12
#41310B
Base = 800Lightest = 50 · #FCF9F3Darkest = 950 · #41310B
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F9F3E7;
  --brand-200: #F4E6C8;
  --brand-300: #F2D79C;
  --brand-400: #EBC46A;
  --brand-500: #E5B039;
  --brand-600: #D89F1D;
  --brand-700: #B48418;
  --brand-800: #8f6913;
  --brand-900: #684E12;
  --brand-950: #41310B;
  --brand: #8f6913;
  --brand-ink: #ffffff;
}

Colors that work with #8f6913

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF9F4
Tinted page background
Border#EDDFC0
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#105892
Second voice, not a rival
Dark variant#71530F
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 #8f6913

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

Works well for
  • Body text and links on white
  • 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
  • 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#13398F
Analogous left#8F2B13
Analogous right#778F13
Split-complement 1#13778F
Split-complement 2#2B138F
Triadic 1#138F69
Triadic 2#69138F
Tetradic#138F2B

RGB percentages

Red56.1%
Green41.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta26.6%
Yellow86.7%
Key (black)43.9%

Color previews

#8f6913 text on a black background

contrast 4.20:1

Card sample

#8f6913 text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 105, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 105, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f6913;
background: linear-gradient(135deg, #8f6913, #628F13);

Monochromatic scale

Palettes built from #8f6913

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.

#8f6913 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.

#8f6913, answered

What color is #8f6913?

#8f6913 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 12.5). It sits at 42° on the hue wheel with 77% saturation and 32% lightness, which reads as warm.

What is the RGB value of #8f6913?

rgb(143, 105, 19) — 143 red, 105 green and 19 blue out of 255, or 56.1% / 41.2% / 7.5% by channel.

Is #8f6913 a light or a dark color?

It is a dark color. Relative luminance is 0.1599 and perceived brightness is 44%, so white text on it reaches 5.00:1.

Should I use black or white text on #8f6913?

White. It scores 5.00:1 against #8f6913, versus 4.20:1 for black — AA at any size.

What is the complementary color of #8f6913?

#13398F sits directly opposite on the wheel. Softer options are the split-complements #13778F and #2B138F, which give the same contrast with far less vibration.

What colors go well with #8f6913?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #105892 as an accent and #71530F for hover and pressed states. For a palette, the analogous pair #8F2B13 and #778F13 stays calm, while #13398F is the loudest partner.

What is #8f6913 in CMYK for printing?

cmyk(0%, 27%, 87%, 44%). 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 #8f6913 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 #8F5313; nudged cooler, #899111.

Work with #8f6913 in the Color Lab