#BA7F45#BA7F45

#BA7F45 is a light, moderate orange. Relative luminance 0.260; OKLCH L 64.5% C 0.104 H 63.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#BA7F45
RGBrgb(186, 127, 69)
HSLhsl(30, 46%, 50%)
HSVhsv(30, 63%, 73%)
CMYKcmyk(0%, 31.7%, 62.9%, 27.1%)
CIE-LABlab(58.08, 16.95, 40.18)
CIE-LCHlch(58.08, 43.61, 67.13°)
OKLaboklab(64.49% 0.0464 0.0935)
OKLCHoklch(64.49% 0.104 63.6)
XYZxyz(28.9151, 26.0499, 9.1343)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F45 #4580BA
analogous
#BA4545 #BA7F45 #BABA45
triadic
#BA7F45 #45BA7F #7F45BA
tetradic
#BA7F45 #45BA45 #4580BA #BA45BA
square
#BA7F45 #45BA45 #4580BA #BA45BA
split-complementary
#BA7F45 #45BABA #4545BA
monochromatic
#614224 #8D6134 #BA7F45 #CB9E72 #DBBC9E

Accessibility & contrast

On white

3.38
#BA7F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#BA7F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F45
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F45#FFFFFF#000000##000000
##BA7F451.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928440
Deuteranopia (green-blind)
#A09146
Tritanopia (blue-blind)
#CA7272
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba7f45;
/* rgb */ color: rgb(186, 127, 69);
/* oklch */ color: oklch(64.5% 0.104 63.6);
Tailwind
colors: {
  custom: {
    50: '#d3a47a',
    500: '#ba7f45',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f45;
$custom-light: #d3a47a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f45",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 29.744,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.10437,
    "h": 63.6
  },
  "luminance": 0.26048
}

Semantic roles & 50–950 ramp

primary
#BA7F45
secondary
#93AEC8
accent
#94D652
background
#FDFAF7
surface
#FAF4EE
border
#D3CEC9
text
#150F09
muted
#837F7B

Preview Lab

Preview with #BA7F45

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

Preview Lab → · Contrast checker → · Palette generator →

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