Skip to content

#ba7204

a dark, electric orange · warm · closest name: Peru

RGB
186, 114, 4
HSL
36°, 96%, 37%
CMYK
0, 39, 98, 27
Luminance
0.2248

At a glance

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

Hex
#ba7204
Hue
36°
orange
Saturation
96%
electric
Lightness
37%
dark
Brightness
73%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2248
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.50:1
Closest name
Peru
ΔE2000 7.9
Where it sits
Hue36° of 360°
Saturation96%
Lightness37%
Temperature
Warm ← → Cool5% 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#ba7204
RGBrgb(186, 114, 4)
HSLhsl(36, 96%, 37%)
CMYKcmyk(0%, 39%, 98%, 27%)
LABlab(54.5 21.7 60.7)
LCHlch(54.5 64.5 70.3)
OKLCHoklch(0.616 0.135 66.9)
Decimal12218884
Display P3color(display-p3 0.729 0.447 0.016)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba7204 on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#ba7204 on black: 5.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #897800
deuteranopia · #9A8909
tritanopia · #CC6161

Color scale — 50 to 950

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

#FDF9F1
#FCF2E4
#FAE4C1
#FDD291
#FBBC5A
#FAA523
#F09305
#ba7204
#A06203
#734907
#482D05
Base = 700Lightest = 50 · #FDF9F1Darkest = 950 · #482D05
:root {
  --brand-50: #FDF9F1;
  --brand-100: #FCF2E4;
  --brand-200: #FAE4C1;
  --brand-300: #FDD291;
  --brand-400: #FBBC5A;
  --brand-500: #FAA523;
  --brand-600: #F09305;
  --brand-700: #ba7204;
  --brand-800: #A06203;
  --brand-900: #734907;
  --brand-950: #482D05;
  --brand: #ba7204;
  --brand-ink: #000000;
}

Colors that work with #ba7204

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#EDDBC0
Hairlines and dividers
Muted text#9B7B4B
Captions on the surface
Accent#007BBE
Second voice, not a rival
Dark variant#7D4D03
Hover, pressed, headers
Light variant#FEF5E6
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 #ba7204

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#044CBA
Analogous left#BA1704
Analogous right#A7BA04
Split-complement 1#04A7BA
Split-complement 2#1704BA
Triadic 1#04BA72
Triadic 2#7204BA
Tetradic#04BA17

RGB percentages

Red72.9%
Green44.7%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta38.7%
Yellow97.8%
Key (black)27.1%

Color previews

#ba7204 text on a black background

contrast 5.50:1

Card sample

#ba7204 text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 114, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 114, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba7204;
background: linear-gradient(135deg, #ba7204, #89BA04);

Monochromatic scale

Palettes built from #ba7204

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.

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

#ba7204, answered

What color is #ba7204?

#ba7204 is a dark electric orange, closest to Peru (ΔE2000 7.9). It sits at 36° on the hue wheel with 96% saturation and 37% lightness, which reads as warm.

What is the RGB value of #ba7204?

rgb(186, 114, 4) — 186 red, 114 green and 4 blue out of 255, or 72.9% / 44.7% / 1.6% by channel.

Is #ba7204 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2248 and perceived brightness is 53%, so black text on it reaches 5.50:1.

Should I use black or white text on #ba7204?

Black. It scores 5.50:1 against #ba7204, versus 3.82:1 for white — AA at any size.

What is the complementary color of #ba7204?

#044CBA sits directly opposite on the wheel. Softer options are the split-complements #04A7BA and #1704BA, which give the same contrast with far less vibration.

What colors go well with #ba7204?

For interface work: #FAF8F4 as the surface, #EDDBC0 for borders, #9B7B4B for secondary text, #007BBE as an accent and #7D4D03 for hover and pressed states. For a palette, the analogous pair #BA1704 and #A7BA04 stays calm, while #044CBA is the loudest partner.

What is #ba7204 in CMYK for printing?

cmyk(0%, 39%, 98%, 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 #ba7204 warm or cool?

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

Work with #ba7204 in the Color Lab