#BA7F40#BA7F40

#BA7F40 is a light, moderate orange. Relative luminance 0.260; OKLCH L 64.4% C 0.108 H 65.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA7F40
RGBrgb(186, 127, 64)
HSLhsl(31, 49%, 49%)
HSVhsv(31, 66%, 73%)
CMYKcmyk(0%, 31.7%, 65.6%, 27.1%)
CIE-LABlab(58.03, 16.61, 42.66)
CIE-LCHlch(58.03, 45.78, 68.72°)
OKLaboklab(64.43% 0.0447 0.0981)
OKLCHoklch(64.43% 0.108 65.5)
XYZxyz(28.7664, 25.9904, 8.3511)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F40 #407BBA
analogous
#BA4240 #BA7F40 #B8BA40
triadic
#BA7F40 #40BA7F #7F40BA
tetradic
#BA7F40 #40BA42 #407BBA #BA40B8
square
#BA7F40 #40BA42 #407BBA #BA40B8
split-complementary
#BA7F40 #40B8BA #4240BA
monochromatic
#5F4121 #8C6030 #BA7F40 #CC9D6B #DCBB99

Accessibility & contrast

On white

3.39
#BA7F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA7F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F40
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F40#FFFFFF#000000##000000
##BA7F401.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#CA7171
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f40;
/* rgb */ color: rgb(186, 127, 64);
/* oklch */ color: oklch(64.4% 0.108 65.5);
Tailwind
colors: {
  custom: {
    50: '#d3a477',
    500: '#ba7f40',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f40;
$custom-light: #d3a477;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f40",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 30.984,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.10783,
    "h": 65.5
  },
  "luminance": 0.25988
}

Semantic roles & 50–950 ramp

primary
#BA7F40
secondary
#8EAAC8
accent
#92D84F
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#150F09
muted
#837F7B

Preview Lab

Preview with #BA7F40

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

Preview Lab → · Contrast checker → · Palette generator →

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