#BA7945#BA7945

#BA7945 is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.4% C 0.106 H 57.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA7945
RGBrgb(186, 121, 69)
HSLhsl(27, 46%, 50%)
HSVhsv(27, 63%, 73%)
CMYKcmyk(0%, 34.9%, 62.9%, 27.1%)
CIE-LABlab(56.63, 20.28, 38.48)
CIE-LCHlch(56.63, 43.50, 62.21°)
OKLaboklab(63.36% 0.0563 0.0898)
OKLCHoklch(63.36% 0.106 57.9)
XYZxyz(28.1632, 24.5460, 8.8837)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7945 #4586BA
analogous
#BA454B #BA7945 #BAB445
triadic
#BA7945 #45BA79 #7945BA
tetradic
#BA7945 #4BBA45 #4586BA #B445BA
square
#BA7945 #4BBA45 #4586BA #B445BA
split-complementary
#BA7945 #45BAB4 #454BBA
monochromatic
#613F24 #8D5C34 #BA7945 #CB9972 #DBB99E

Accessibility & contrast

On white

3.55
#BA7945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA7945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7945
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7945#FFFFFF#000000##000000
##BA79451.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F40
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#CA6B6D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7945;
/* rgb */ color: rgb(186, 121, 69);
/* oklch */ color: oklch(63.4% 0.106 57.9);
Tailwind
colors: {
  custom: {
    50: '#d3a07a',
    500: '#ba7945',
    950: '#000000',
  },
}
SCSS
$custom: #ba7945;
$custom-light: #d3a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7945",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 26.667,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.63364,
    "c": 0.106,
    "h": 57.9
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

primary
#BA7945
secondary
#93B0C8
accent
#9BD652
background
#FDF9F7
surface
#FBF2EE
border
#D4CCC9
text
#150E09
muted
#837E7B

Preview Lab

Preview with #BA7945

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

Preview Lab → · Contrast checker → · Palette generator →

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