Skip to content

#ba7c01

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

RGB
186, 124, 1
HSL
40°, 99%, 37%
CMYK
0, 33, 100, 27
Luminance
0.2486

At a glance

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

Hex
#ba7c01
Hue
40°
orange
Saturation
99%
electric
Lightness
37%
dark
Brightness
73%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2486
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.97:1
Closest name
Dark Goldenrod
ΔE2000 4.5
Where it sits
Hue40° of 360°
Saturation99%
Lightness37%
Temperature
Warm ← → Cool8% 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#ba7c01
RGBrgb(186, 124, 1)
HSLhsl(40, 99%, 37%)
CMYKcmyk(0%, 33%, 100%, 27%)
LABlab(56.9 16.2 62.9)
LCHlch(56.9 65.0 75.6)
OKLCHoklch(0.635 0.134 74.0)
Decimal12221441
Display P3color(display-p3 0.729 0.486 0.004)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba7c01 on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#ba7c01 on black: 5.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #928000
deuteranopia · #A08F0A
tritanopia · #CC6C69

Color scale — 50 to 950

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

#FEF9F1
#FCF4E3
#FBE8C0
#FED98F
#FEC658
#FEB320
#F3A201
#ba7c01
#A26C01
#755006
#493203
Base = 700Lightest = 50 · #FEF9F1Darkest = 950 · #493203
:root {
  --brand-50: #FEF9F1;
  --brand-100: #FCF4E3;
  --brand-200: #FBE8C0;
  --brand-300: #FED98F;
  --brand-400: #FEC658;
  --brand-500: #FEB320;
  --brand-600: #F3A201;
  --brand-700: #ba7c01;
  --brand-800: #A26C01;
  --brand-900: #755006;
  --brand-950: #493203;
  --brand: #ba7c01;
  --brand-ink: #000000;
}

Colors that work with #ba7c01

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#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#006DBB
Second voice, not a rival
Dark variant#7F5501
Hover, pressed, headers
Light variant#FFF6E6
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 #ba7c01

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#013FBA
Analogous left#BA2001
Analogous right#9CBA01
Split-complement 1#019CBA
Split-complement 2#2001BA
Triadic 1#01BA7C
Triadic 2#7C01BA
Tetradic#01BA20

RGB percentages

Red72.9%
Green48.6%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta33.3%
Yellow99.5%
Key (black)27.1%

Color previews

#ba7c01 text on a black background

contrast 5.97:1

Card sample

#ba7c01 text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 124, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 124, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba7c01;
background: linear-gradient(135deg, #ba7c01, #7DBA01);

Monochromatic scale

Palettes built from #ba7c01

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.

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

#ba7c01, answered

What color is #ba7c01?

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

What is the RGB value of #ba7c01?

rgb(186, 124, 1) — 186 red, 124 green and 1 blue out of 255, or 72.9% / 48.6% / 0.4% by channel.

Is #ba7c01 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2486 and perceived brightness is 55%, so black text on it reaches 5.97:1.

Should I use black or white text on #ba7c01?

Black. It scores 5.97:1 against #ba7c01, versus 3.52:1 for white — AA at any size.

What is the complementary color of #ba7c01?

#013FBA sits directly opposite on the wheel. Softer options are the split-complements #019CBA and #2001BA, which give the same contrast with far less vibration.

What colors go well with #ba7c01?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #006DBB as an accent and #7F5501 for hover and pressed states. For a palette, the analogous pair #BA2001 and #9CBA01 stays calm, while #013FBA is the loudest partner.

What is #ba7c01 in CMYK for printing?

cmyk(0%, 33%, 100%, 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 #ba7c01 warm or cool?

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

Work with #ba7c01 in the Color Lab