#BA7840#BA7840

#BA7840 is a light, moderate orange. Relative luminance 0.242; OKLCH L 63.1% C 0.110 H 59.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA7840
RGBrgb(186, 120, 64)
HSLhsl(28, 49%, 49%)
HSVhsv(28, 66%, 73%)
CMYKcmyk(0%, 35.5%, 65.6%, 27.1%)
CIE-LABlab(56.33, 20.49, 40.73)
CIE-LCHlch(56.33, 45.60, 63.29°)
OKLaboklab(63.11% 0.0562 0.094)
OKLCHoklch(63.11% 0.11 59.1)
XYZxyz(27.8936, 24.2448, 8.0602)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7840 #4082BA
analogous
#BA4045 #BA7840 #BAB540
triadic
#BA7840 #40BA78 #7840BA
tetradic
#BA7840 #45BA40 #4082BA #B540BA
square
#BA7840 #45BA40 #4082BA #B540BA
split-complementary
#BA7840 #40BAB5 #4045BA
monochromatic
#5F3D21 #8C5B30 #BA7840 #CC986B #DCB799

Accessibility & contrast

On white

3.59
#BA7840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#BA7840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7840
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7840#FFFFFF#000000##000000
##BA78401.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#9C8D40
Tritanopia (blue-blind)
#CA6A6B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba7840;
/* rgb */ color: rgb(186, 120, 64);
/* oklch */ color: oklch(63.1% 0.110 59.1);
Tailwind
colors: {
  custom: {
    50: '#d39f77',
    500: '#ba7840',
    950: '#000000',
  },
}
SCSS
$custom: #ba7840;
$custom-light: #d39f77;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7840",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 27.541,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.10953,
    "h": 59.1
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#BA7840
secondary
#8EADC8
accent
#9AD84F
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150E09
muted
#837E7B

Preview Lab

Preview with #BA7840

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

Preview Lab → · Contrast checker → · Palette generator →

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