#BA7940#BA7940

#BA7940 is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.3% C 0.109 H 60.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA7940
RGBrgb(186, 121, 64)
HSLhsl(28, 49%, 49%)
HSVhsv(28, 66%, 73%)
CMYKcmyk(0%, 34.9%, 65.6%, 27.1%)
CIE-LABlab(56.57, 19.94, 41.01)
CIE-LCHlch(56.57, 45.60, 64.07°)
OKLaboklab(63.3% 0.0546 0.0946)
OKLCHoklch(63.3% 0.109 60)
XYZxyz(28.0145, 24.4866, 8.1005)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7940 #4081BA
analogous
#BA4044 #BA7940 #BAB640
triadic
#BA7940 #40BA79 #7940BA
tetradic
#BA7940 #44BA40 #4081BA #B640BA
square
#BA7940 #44BA40 #4081BA #B640BA
split-complementary
#BA7940 #40BAB6 #4044BA
monochromatic
#5F3E21 #8C5B30 #BA7940 #CC986B #DCB899

Accessibility & contrast

On white

3.56
#BA7940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#BA7940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7940
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7940#FFFFFF#000000##000000
##BA79401.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3A
Deuteranopia (green-blind)
#9C8E41
Tritanopia (blue-blind)
#CA6B6C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7940;
/* rgb */ color: rgb(186, 121, 64);
/* oklch */ color: oklch(63.3% 0.109 60.0);
Tailwind
colors: {
  custom: {
    50: '#d3a077',
    500: '#ba7940',
    950: '#000000',
  },
}
SCSS
$custom: #ba7940;
$custom-light: #d3a077;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7940",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 28.033,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63299,
    "c": 0.1092,
    "h": 60
  },
  "luminance": 0.24484
}

Semantic roles & 50–950 ramp

primary
#BA7940
secondary
#8EADC8
accent
#98D84F
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150E09
muted
#837E7B

Preview Lab

Preview with #BA7940

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

Preview Lab → · Contrast checker → · Palette generator →

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