#BA7831#BA7831

#BA7831 is a light, moderate orange. Relative luminance 0.241; OKLCH L 63.0% C 0.118 H 64.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA7831
RGBrgb(186, 120, 49)
HSLhsl(31, 58%, 46%)
HSVhsv(31, 74%, 73%)
CMYKcmyk(0%, 35.5%, 73.7%, 27.1%)
CIE-LABlab(56.18, 19.65, 47.90)
CIE-LCHlch(56.18, 51.77, 67.69°)
OKLaboklab(62.95% 0.0515 0.1067)
OKLCHoklch(62.95% 0.118 64.2)
XYZxyz(27.5227, 24.0964, 6.1067)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7831 #3173BA
analogous
#BA3331 #BA7831 #B7BA31
triadic
#BA7831 #31BA78 #7831BA
tetradic
#BA7831 #31BA33 #3173BA #BA31B7
square
#BA7831 #31BA33 #3173BA #BA31B7
split-complementary
#BA7831 #31B7BA #3331BA
monochromatic
#593917 #8A5924 #BA7831 #D29656 #DFB486

Accessibility & contrast

On white

3.61
#BA7831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#BA7831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7831
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7831#FFFFFF#000000##000000
##BA78311.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E28
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#CB6969
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba7831;
/* rgb */ color: rgb(186, 120, 49);
/* oklch */ color: oklch(63.0% 0.118 64.2);
Tailwind
colors: {
  custom: {
    50: '#d49f6d',
    500: '#ba7831',
    950: '#000000',
  },
}
SCSS
$custom: #ba7831;
$custom-light: #d49f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7831",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 31.095,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.11843,
    "h": 64.2
  },
  "luminance": 0.24094
}

Semantic roles & 50–950 ramp

primary
#BA7831
secondary
#7EA2C9
accent
#91E246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7831

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

Preview Lab → · Contrast checker → · Palette generator →

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