#BA8F31#BA8F31

#BA8F31 is a light, moderate orange. Relative luminance 0.303; OKLCH L 67.4% C 0.120 H 83.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA8F31
RGBrgb(186, 143, 49)
HSLhsl(41, 58%, 46%)
HSVhsv(41, 74%, 73%)
CMYKcmyk(0%, 23.1%, 73.7%, 27.1%)
CIE-LABlab(61.92, 6.94, 53.68)
CIE-LCHlch(61.92, 54.13, 82.64°)
OKLaboklab(67.43% 0.0143 0.119)
OKLCHoklch(67.43% 0.12 83.2)
XYZxyz(30.6285, 30.3080, 7.1420)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F31 #315CBA
analogous
#BA4A31 #BA8F31 #A0BA31
triadic
#BA8F31 #31BA8F #8F31BA
tetradic
#BA8F31 #31BA4A #315CBA #BA31A0
square
#BA8F31 #31BA4A #315CBA #BA31A0
split-complementary
#BA8F31 #31A0BA #4A31BA
monochromatic
#594517 #8A6A24 #BA8F31 #D2AB56 #DFC386

Accessibility & contrast

On white

2.97
#BA8F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA8F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F31
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F31#FFFFFF#000000##000000
##BA8F311.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#CA827C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba8f31;
/* rgb */ color: rgb(186, 143, 49);
/* oklch */ color: oklch(67.4% 0.120 83.2);
Tailwind
colors: {
  custom: {
    50: '#d3af6f',
    500: '#ba8f31',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f31;
$custom-light: #d3af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f31",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 41.168,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.11982,
    "h": 83.2
  },
  "luminance": 0.30306
}

Semantic roles & 50–950 ramp

primary
#BA8F31
secondary
#7E95C9
accent
#77E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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