#BA7031#BA7031

#BA7031 is a mid, vivid orange. Relative luminance 0.222; OKLCH L 61.5% C 0.121 H 57.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA7031
RGBrgb(186, 112, 49)
HSLhsl(28, 58%, 46%)
HSVhsv(28, 74%, 73%)
CMYKcmyk(0%, 39.8%, 73.7%, 27.1%)
CIE-LABlab(54.29, 24.07, 45.95)
CIE-LCHlch(54.29, 51.87, 62.35°)
OKLaboklab(61.49% 0.0646 0.1025)
OKLCHoklch(61.49% 0.121 57.8)
XYZxyz(26.6004, 22.2519, 5.7993)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7031 #317BBA
analogous
#BA3136 #BA7031 #BAB431
triadic
#BA7031 #31BA70 #7031BA
tetradic
#BA7031 #36BA31 #317BBA #B431BA
square
#BA7031 #36BA31 #317BBA #B431BA
split-complementary
#BA7031 #31BAB4 #3136BA
monochromatic
#593617 #8A5324 #BA7031 #D28F56 #DFAF86

Accessibility & contrast

On white

3.85
#BA7031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA7031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7031
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7031#FFFFFF#000000##000000
##BA70311.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867829
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#CB6063
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba7031;
/* rgb */ color: rgb(186, 112, 49);
/* oklch */ color: oklch(61.5% 0.121 57.8);
Tailwind
colors: {
  custom: {
    50: '#d4996c',
    500: '#ba7031',
    950: '#000000',
  },
}
SCSS
$custom: #ba7031;
$custom-light: #d4996c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7031",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 27.591,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.12114,
    "h": 57.8
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#BA7031
secondary
#7EA6C9
accent
#9AE246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7031

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

Preview Lab → · Contrast checker → · Palette generator →

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