#BA7731#BA7731

#BA7731 is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.8% C 0.119 H 63.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#BA7731
RGBrgb(186, 119, 49)
HSLhsl(31, 58%, 46%)
HSVhsv(31, 74%, 73%)
CMYKcmyk(0%, 36%, 73.7%, 27.1%)
CIE-LABlab(55.94, 20.21, 47.65)
CIE-LCHlch(55.94, 51.76, 67.02°)
OKLaboklab(62.77% 0.0531 0.1061)
OKLCHoklch(62.77% 0.119 63.4)
XYZxyz(27.4030, 23.8571, 6.0668)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7731 #3174BA
analogous
#BA3231 #BA7731 #B8BA31
triadic
#BA7731 #31BA77 #7731BA
tetradic
#BA7731 #31BA32 #3174BA #BA31B8
square
#BA7731 #31BA32 #3174BA #BA31B8
split-complementary
#BA7731 #31B8BA #3231BA
monochromatic
#593917 #8A5824 #BA7731 #D29556 #DFB486

Accessibility & contrast

On white

3.64
#BA7731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#BA7731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7731
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7731#FFFFFF#000000##000000
##BA77311.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#CB6868
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba7731;
/* rgb */ color: rgb(186, 119, 49);
/* oklch */ color: oklch(62.8% 0.119 63.4);
Tailwind
colors: {
  custom: {
    50: '#d49e6d',
    500: '#ba7731',
    950: '#000000',
  },
}
SCSS
$custom: #ba7731;
$custom-light: #d49e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7731",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 30.657,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.11867,
    "h": 63.4
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#BA7731
secondary
#7EA3C9
accent
#92E246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7731

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

Preview Lab → · Contrast checker → · Palette generator →

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