#BA6731#BA6731

#BA6731 is a mid, vivid orange. Relative luminance 0.204; OKLCH L 59.9% C 0.126 H 51.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA6731
RGBrgb(186, 103, 49)
HSLhsl(24, 58%, 46%)
HSVhsv(24, 74%, 73%)
CMYKcmyk(0%, 44.6%, 73.7%, 27.1%)
CIE-LABlab(52.25, 28.97, 43.80)
CIE-LCHlch(52.25, 52.52, 56.52°)
OKLaboklab(59.91% 0.0793 0.0979)
OKLCHoklch(59.91% 0.126 51)
XYZxyz(25.6566, 20.3642, 5.4847)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6731 #3184BA
analogous
#BA313F #BA6731 #BAAB31
triadic
#BA6731 #31BA67 #6731BA
tetradic
#BA6731 #3FBA31 #3184BA #AB31BA
square
#BA6731 #3FBA31 #3184BA #AB31BA
split-complementary
#BA6731 #31BAAB #313FBA
monochromatic
#593117 #8A4C24 #BA6731 #D28756 #DFA986

Accessibility & contrast

On white

4.14
#BA6731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#BA6731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6731
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6731#FFFFFF#000000##000000
##BA67311.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F712B
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#CC565B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba6731;
/* rgb */ color: rgb(186, 103, 49);
/* oklch */ color: oklch(59.9% 0.126 51.0);
Tailwind
colors: {
  custom: {
    50: '#d5936c',
    500: '#ba6731',
    950: '#000000',
  },
}
SCSS
$custom: #ba6731;
$custom-light: #d5936c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6731",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 23.65,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.12598,
    "h": 51
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#BA6731
secondary
#7EABC9
accent
#A4E246
background
#FDF9F6
surface
#FBF1EB
border
#D4CBC6
text
#150D07
muted
#837E7A

Preview Lab

Preview with #BA6731

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

Preview Lab → · Contrast checker → · Palette generator →

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