#BA8931#BA8931

#BA8931 is a light, moderate orange. Relative luminance 0.286; OKLCH L 66.2% C 0.118 H 78.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BA8931
RGBrgb(186, 137, 49)
HSLhsl(39, 58%, 46%)
HSVhsv(39, 74%, 73%)
CMYKcmyk(0%, 26.3%, 73.7%, 27.1%)
CIE-LABlab(60.39, 10.24, 52.16)
CIE-LCHlch(60.39, 53.15, 78.89°)
OKLaboklab(66.23% 0.0238 0.1157)
OKLCHoklch(66.23% 0.118 78.4)
XYZxyz(29.7517, 28.5545, 6.8497)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8931 #3162BA
analogous
#BA4431 #BA8931 #A6BA31
triadic
#BA8931 #31BA89 #8931BA
tetradic
#BA8931 #31BA44 #3162BA #BA31A6
square
#BA8931 #31BA44 #3162BA #BA31A6
split-complementary
#BA8931 #31A6BA #4431BA
monochromatic
#594217 #8A6524 #BA8931 #D2A656 #DFBF86

Accessibility & contrast

On white

3.13
#BA8931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#BA8931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8931
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8931#FFFFFF#000000##000000
##BA89311.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A25
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#CA7B77
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8931;
/* rgb */ color: rgb(186, 137, 49);
/* oklch */ color: oklch(66.2% 0.118 78.4);
Tailwind
colors: {
  custom: {
    50: '#d3ab6f',
    500: '#ba8931',
    950: '#000000',
  },
}
SCSS
$custom: #ba8931;
$custom-light: #d3ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8931",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 49
  },
  "hsl": {
    "h": 38.54,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66227,
    "c": 0.11815,
    "h": 78.4
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

primary
#BA8931
secondary
#7E99C9
accent
#7EE246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8931

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

Preview Lab → · Contrast checker → · Palette generator →

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