Skip to content

#ba8608

a dark, electric yellow · warm · “Dark Goldenrod”

RGB
186, 134, 8
HSL
43°, 92%, 38%
CMYK
0, 28, 96, 27
Luminance
0.2751

At a glance

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

Hex
#ba8608
Hue
43°
yellow
Saturation
92%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2751
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
6.50:1
Closest name
Dark Goldenrod
ΔE2000 0.6
Where it sits
Hue43° of 360°
Saturation92%
Lightness38%
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#ba8608
RGBrgb(186, 134, 8)
HSLhsl(43, 92%, 38%)
CMYKcmyk(0%, 28%, 96%, 27%)
LABlab(59.4 10.7 63.5)
LCHlch(59.4 64.4 80.4)
OKLCHoklch(0.654 0.134 80.7)
Decimal12224008
Display P3color(display-p3 0.729 0.525 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8608 on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#ba8608 on black: 6.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9A8700
deuteranopia · #A79414
tritanopia · #CB7772

Color scale — 50 to 950

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

#FDFAF2
#FBF4E4
#F9E9C3
#FADC93
#F8CB5E
#F6BA28
#EBA90A
#ba8608
#9D7107
#71530A
#473406
Base = 700Lightest = 50 · #FDFAF2Darkest = 950 · #473406
:root {
  --brand-50: #FDFAF2;
  --brand-100: #FBF4E4;
  --brand-200: #F9E9C3;
  --brand-300: #FADC93;
  --brand-400: #F8CB5E;
  --brand-500: #F6BA28;
  --brand-600: #EBA90A;
  --brand-700: #ba8608;
  --brand-800: #9D7107;
  --brand-900: #71530A;
  --brand-950: #473406;
  --brand: #ba8608;
  --brand-ink: #000000;
}

Colors that work with #ba8608

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#EDE0C0
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#0469BE
Second voice, not a rival
Dark variant#7A5805
Hover, pressed, headers
Light variant#FEF7E7
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 #ba8608

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#083CBA
Analogous left#BA2D08
Analogous right#95BA08
Split-complement 1#0895BA
Split-complement 2#2D08BA
Triadic 1#08BA86
Triadic 2#8608BA
Tetradic#08BA2D

RGB percentages

Red72.9%
Green52.5%
Blue3.1%

CMYK percentages

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

Color previews

#ba8608 text on a black background

contrast 6.50:1

Card sample

#ba8608 text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8608

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.

#ba8608 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.

#ba8608, answered

What color is #ba8608?

#ba8608 is a dark electric yellow — the CSS keyword Dark Goldenrod. It sits at 43° on the hue wheel with 92% saturation and 38% lightness, which reads as warm.

What is the RGB value of #ba8608?

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

Is #ba8608 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2751 and perceived brightness is 57%, so black text on it reaches 6.50:1.

Should I use black or white text on #ba8608?

Black. It scores 6.50:1 against #ba8608, versus 3.23:1 for white — AA at any size.

What is the complementary color of #ba8608?

#083CBA sits directly opposite on the wheel. Softer options are the split-complements #0895BA and #2D08BA, which give the same contrast with far less vibration.

What colors go well with #ba8608?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B834B for secondary text, #0469BE as an accent and #7A5805 for hover and pressed states. For a palette, the analogous pair #BA2D08 and #95BA08 stays calm, while #083CBA is the loudest partner.

What is #ba8608 in CMYK for printing?

cmyk(0%, 28%, 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 #ba8608 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 #BA6908; nudged cooler, #AEBC06.

Work with #ba8608 in the Color Lab