#BA7040#BA7040

#BA7040 is a mid, moderate orange. Relative luminance 0.224; OKLCH L 61.7% C 0.113 H 52.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA7040
RGBrgb(186, 112, 64)
HSLhsl(24, 49%, 49%)
HSVhsv(24, 66%, 73%)
CMYKcmyk(0%, 39.8%, 65.6%, 27.1%)
CIE-LABlab(54.45, 24.91, 38.57)
CIE-LCHlch(54.45, 45.91, 57.15°)
OKLaboklab(61.66% 0.0695 0.0893)
OKLCHoklch(61.66% 0.113 52.1)
XYZxyz(26.9713, 22.4003, 7.7528)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7040 #408ABA
analogous
#BA404D #BA7040 #BAAD40
triadic
#BA7040 #40BA70 #7040BA
tetradic
#BA7040 #4DBA40 #408ABA #AD40BA
square
#BA7040 #4DBA40 #408ABA #AD40BA
split-complementary
#BA7040 #40BAAD #404DBA
monochromatic
#5F3921 #8C5530 #BA7040 #CC916B #DCB399

Accessibility & contrast

On white

3.83
#BA7040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BA7040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7040
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7040#FFFFFF#000000##000000
##BA70401.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783B
Deuteranopia (green-blind)
#978940
Tritanopia (blue-blind)
#CB6165
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba7040;
/* rgb */ color: rgb(186, 112, 64);
/* oklch */ color: oklch(61.7% 0.113 52.1);
Tailwind
colors: {
  custom: {
    50: '#d39976',
    500: '#ba7040',
    950: '#000000',
  },
}
SCSS
$custom: #ba7040;
$custom-light: #d39976;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7040",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 23.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.11315,
    "h": 52.1
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#BA7040
secondary
#8EB1C8
accent
#A2D84F
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150E08
muted
#837E7B

Preview Lab

Preview with #BA7040

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA7040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva