Skip to content

#ba8d4f

a balanced, soft orange · warm · closest name: Peru

RGB
186, 141, 79
HSL
35°, 44%, 52%
CMYK
0, 24, 58, 27
Luminance
0.3005

At a glance

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

Hex
#ba8d4f
Hue
35°
orange
Saturation
44%
soft
Lightness
52%
balanced
Brightness
73%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3005
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Soft
Best ink
Black
7.01:1
Closest name
Peru
ΔE2000 6.8
Where it sits
Hue35° of 360°
Saturation44%
Lightness52%
Temperature
Warm ← → Cool4% 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#ba8d4f
RGBrgb(186, 141, 79)
HSLhsl(35, 44%, 52%)
CMYKcmyk(0%, 24%, 58%, 27%)
LABlab(61.7 9.9 39.3)
LCHlch(61.7 40.5 75.8)
OKLCHoklch(0.673 0.097 73.7)
Decimal12225871
Display P3color(display-p3 0.729 0.553 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8d4f on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#ba8d4f on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9D8F49
deuteranopia · #A89951
tritanopia · #C9817E

Color scale — 50 to 950

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

#FAF8F5
#F5F1EA
#EBE0D1
#DFCBAE
#D0B186
#ba8d4f
#B08345
#936D39
#75572E
#564125
#362917
Base = 500Lightest = 50 · #FAF8F5Darkest = 950 · #362917
:root {
  --brand-50: #FAF8F5;
  --brand-100: #F5F1EA;
  --brand-200: #EBE0D1;
  --brand-300: #DFCBAE;
  --brand-400: #D0B186;
  --brand-500: #ba8d4f;
  --brand-600: #B08345;
  --brand-700: #936D39;
  --brand-800: #75572E;
  --brand-900: #564125;
  --brand-950: #362917;
  --brand: #ba8d4f;
  --brand-ink: #000000;
}

Colors that work with #ba8d4f

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#E8D9C4
Hairlines and dividers
Muted text#9B794B
Captions on the surface
Accent#4A98BF
Second voice, not a rival
Dark variant#5C4424
Hover, pressed, headers
Light variant#F8F3ED
Selected rows, tints
Dark surface#241D14
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 #ba8d4f

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#4F7CBA
Analogous left#BA584F
Analogous right#B2BA4F
Split-complement 1#4FB2BA
Split-complement 2#584FBA
Triadic 1#4FBA8D
Triadic 2#8D4FBA
Tetradic#4FBA58

RGB percentages

Red72.9%
Green55.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta24.2%
Yellow57.5%
Key (black)27.1%

Color previews

#ba8d4f text on a black background

contrast 7.01:1

Card sample

#ba8d4f text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8d4f

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.

#ba8d4f 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

Converts to four-color process without much drama. Proof it anyway.

#ba8d4f, answered

What color is #ba8d4f?

#ba8d4f is a balanced soft orange, closest to Peru (ΔE2000 6.8). It sits at 35° on the hue wheel with 44% saturation and 52% lightness, which reads as warm.

What is the RGB value of #ba8d4f?

rgb(186, 141, 79) — 186 red, 141 green and 79 blue out of 255, or 72.9% / 55.3% / 31% by channel.

Is #ba8d4f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3005 and perceived brightness is 59%, so black text on it reaches 7.01:1.

Should I use black or white text on #ba8d4f?

Black. It scores 7.01:1 against #ba8d4f, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #ba8d4f?

#4F7CBA sits directly opposite on the wheel. Softer options are the split-complements #4FB2BA and #584FBA, which give the same contrast with far less vibration.

What colors go well with #ba8d4f?

For interface work: #FAF8F4 as the surface, #E8D9C4 for borders, #9B794B for secondary text, #4A98BF as an accent and #5C4424 for hover and pressed states. For a palette, the analogous pair #BA584F and #B2BA4F stays calm, while #4F7CBA is the loudest partner.

What is #ba8d4f in CMYK for printing?

cmyk(0%, 24%, 58%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ba8d4f warm or cool?

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

Work with #ba8d4f in the Color Lab