Skip to content

#8f7613

a dark, electric yellow · warm · closest name: Olive

RGB
143, 118, 19
HSL
48°, 77%, 32%
CMYK
0, 18, 87, 44
Luminance
0.1884

At a glance

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

Hex
#8f7613
Hue
48°
yellow
Saturation
77%
electric
Lightness
32%
dark
Brightness
56%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1884
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
4.77:1
Closest name
Olive
ΔE2000 8.3
Where it sits
Hue48° of 360°
Saturation77%
Lightness32%
Temperature
Warm ← → Cool15% 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#8f7613
RGBrgb(143, 118, 19)
HSLhsl(48, 77%, 32%)
CMYKcmyk(0%, 18%, 87%, 44%)
LABlab(50.5 0.1 52.3)
LCHlch(50.5 52.3 89.9)
OKLCHoklch(0.573 0.112 93.1)
Decimal9401875
Display P3color(display-p3 0.561 0.463 0.075)

Copy-ready code

/* CSS */
color: #8f7613;
background-color: #8f7613;
/* Tailwind (arbitrary) */
class="text-[#8f7613] bg-[#8f7613]"
/* SCSS */
$brand: #8f7613;
/* SwiftUI */
Color(red: 0.561, green: 0.463, blue: 0.075)
/* Android */
Color.parseColor("#8f7613")
/* Flutter */
Color(0xFF8F7613)
/* Python / OpenCV (BGR) */
(19, 118, 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#000000 on #8f7613 · 4.77:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.40:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.77:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #8f7613 as text scores 4.40:1 on white and 4.77:1 on black.

Accessibility — WCAG contrast

Aa
#8f7613 on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#8f7613 on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #847400
deuteranopia · #8A7B1B
tritanopia · #9B6B64

Color scale — 50 to 950

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

#FCFAF3
#F9F5E7
#F4EBC8
#F2E19C
#EBD16A
#E5C239
#D8B21D
#B49518
#8f7613
#685712
#41360B
Base = 800Lightest = 50 · #FCFAF3Darkest = 950 · #41360B
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F9F5E7;
  --brand-200: #F4EBC8;
  --brand-300: #F2E19C;
  --brand-400: #EBD16A;
  --brand-500: #E5C239;
  --brand-600: #D8B21D;
  --brand-700: #B49518;
  --brand-800: #8f7613;
  --brand-900: #685712;
  --brand-950: #41360B;
  --brand: #8f7613;
  --brand-ink: #000000;
}

Colors that work with #8f7613

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#EDE4C0
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#104B92
Second voice, not a rival
Dark variant#715D0F
Hover, pressed, headers
Light variant#FCF8E8
Selected rows, tints
Dark surface#242114
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 #8f7613

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#132C8F
Analogous left#8F3813
Analogous right#6A8F13
Split-complement 1#136A8F
Split-complement 2#38138F
Triadic 1#138F76
Triadic 2#76138F
Tetradic#138F38

RGB percentages

Red56.1%
Green46.3%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow86.7%
Key (black)43.9%

Color previews

#8f7613 text on a black background

contrast 4.77:1

Card sample

#8f7613 text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f7613

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.

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

#8f7613, answered

What color is #8f7613?

#8f7613 is a dark electric yellow, closest to Olive (ΔE2000 8.3). It sits at 48° on the hue wheel with 77% saturation and 32% lightness, which reads as warm.

What is the RGB value of #8f7613?

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

Is #8f7613 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1884 and perceived brightness is 47%, so black text on it reaches 4.77:1.

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

Black. It scores 4.77:1 against #8f7613, versus 4.40:1 for white — AA at any size.

What is the complementary color of #8f7613?

#132C8F sits directly opposite on the wheel. Softer options are the split-complements #136A8F and #38138F, which give the same contrast with far less vibration.

What colors go well with #8f7613?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8B4B for secondary text, #104B92 as an accent and #715D0F for hover and pressed states. For a palette, the analogous pair #8F3813 and #6A8F13 stays calm, while #132C8F is the loudest partner.

What is #8f7613 in CMYK for printing?

cmyk(0%, 18%, 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 #8f7613 warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8F5813; nudged cooler, #7C9111.

Work with #8f7613 in the Color Lab