Skip to content

#ba7708

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

RGB
186, 119, 8
HSL
37°, 92%, 38%
CMYK
0, 36, 96, 27
Luminance
0.2365

At a glance

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

Hex
#ba7708
Hue
37°
orange
Saturation
92%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2365
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.73:1
Closest name
Dark Goldenrod
ΔE2000 6.8
Where it sits
Hue37° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool6% 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#ba7708
RGBrgb(186, 119, 8)
HSLhsl(37, 92%, 38%)
CMYKcmyk(0%, 36%, 96%, 27%)
LABlab(55.7 19.0 60.8)
LCHlch(55.7 63.8 72.6)
OKLCHoklch(0.625 0.134 70.1)
Decimal12220168
Display P3color(display-p3 0.729 0.467 0.031)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#ba7708 on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#ba7708 on black: 5.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8E7C00
deuteranopia · #9D8C0E
tritanopia · #CC6665

Color scale — 50 to 950

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

#FDF9F2
#FBF2E4
#F9E5C3
#FAD493
#F8BE5E
#F6A828
#EB960A
#ba7708
#9D6407
#714A0A
#472E06
Base = 700Lightest = 50 · #FDF9F2Darkest = 950 · #472E06
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FBF2E4;
  --brand-200: #F9E5C3;
  --brand-300: #FAD493;
  --brand-400: #F8BE5E;
  --brand-500: #F6A828;
  --brand-600: #EB960A;
  --brand-700: #ba7708;
  --brand-800: #9D6407;
  --brand-900: #714A0A;
  --brand-950: #472E06;
  --brand: #ba7708;
  --brand-ink: #000000;
}

Colors that work with #ba7708

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#FAF8F4
Tinted page background
Border#EDDCC0
Hairlines and dividers
Muted text#9B7D4B
Captions on the surface
Accent#0478BE
Second voice, not a rival
Dark variant#7A4E05
Hover, pressed, headers
Light variant#FEF5E7
Selected rows, tints
Dark surface#241E14
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 #ba7708

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
  • 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#084BBA
Analogous left#BA1E08
Analogous right#A4BA08
Split-complement 1#08A4BA
Split-complement 2#1E08BA
Triadic 1#08BA77
Triadic 2#7708BA
Tetradic#08BA1E

RGB percentages

Red72.9%
Green46.7%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta36.0%
Yellow95.7%
Key (black)27.1%

Color previews

#ba7708 text on a black background

contrast 5.73:1

Card sample

#ba7708 text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 119, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 119, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba7708;
background: linear-gradient(135deg, #ba7708, #86BA08);

Monochromatic scale

Palettes built from #ba7708

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.

#ba7708 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba7708, answered

What color is #ba7708?

#ba7708 is a dark electric orange, closest to Dark Goldenrod (ΔE2000 6.8). It sits at 37° on the hue wheel with 92% saturation and 38% lightness, which reads as warm.

What is the RGB value of #ba7708?

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

Is #ba7708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2365 and perceived brightness is 54%, so black text on it reaches 5.73:1.

Should I use black or white text on #ba7708?

Black. It scores 5.73:1 against #ba7708, versus 3.66:1 for white — AA at any size.

What is the complementary color of #ba7708?

#084BBA sits directly opposite on the wheel. Softer options are the split-complements #08A4BA and #1E08BA, which give the same contrast with far less vibration.

What colors go well with #ba7708?

For interface work: #FAF8F4 as the surface, #EDDCC0 for borders, #9B7D4B for secondary text, #0478BE as an accent and #7A4E05 for hover and pressed states. For a palette, the analogous pair #BA1E08 and #A4BA08 stays calm, while #084BBA is the loudest partner.

What is #ba7708 in CMYK for printing?

cmyk(0%, 36%, 96%, 27%). 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 #ba7708 warm or cool?

Warm — it scores 6 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA6308; nudged cooler, #BCBA06.

Work with #ba7708 in the Color Lab