#BA7231#BA7231

#BA7231 is a mid, vivid orange. Relative luminance 0.227; OKLCH L 61.8% C 0.120 H 59.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA7231
RGBrgb(186, 114, 49)
HSLhsl(28, 58%, 46%)
HSVhsv(28, 74%, 73%)
CMYKcmyk(0%, 38.7%, 73.7%, 27.1%)
CIE-LABlab(54.76, 22.97, 46.43)
CIE-LCHlch(54.76, 51.80, 63.68°)
OKLaboklab(61.85% 0.0613 0.1035)
OKLCHoklch(61.85% 0.12 59.4)
XYZxyz(26.8236, 22.6982, 5.8737)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7231 #3179BA
analogous
#BA3134 #BA7231 #BAB631
triadic
#BA7231 #31BA72 #7231BA
tetradic
#BA7231 #34BA31 #3179BA #B631BA
square
#BA7231 #34BA31 #3179BA #B631BA
split-complementary
#BA7231 #31BAB6 #3134BA
monochromatic
#593717 #8A5424 #BA7231 #D29156 #DFB086

Accessibility & contrast

On white

3.79
#BA7231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BA7231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7231
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7231#FFFFFF#000000##000000
##BA72311.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#998931
Tritanopia (blue-blind)
#CB6264
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba7231;
/* rgb */ color: rgb(186, 114, 49);
/* oklch */ color: oklch(61.8% 0.120 59.4);
Tailwind
colors: {
  custom: {
    50: '#d49b6d',
    500: '#ba7231',
    950: '#000000',
  },
}
SCSS
$custom: #ba7231;
$custom-light: #d49b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7231",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 28.467,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.12031,
    "h": 59.4
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#BA7231
secondary
#7EA5C9
accent
#98E246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7231

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

Preview Lab → · Contrast checker → · Palette generator →

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