#BA8B31#BA8B31

#BA8B31 is a light, moderate orange. Relative luminance 0.291; OKLCH L 66.6% C 0.119 H 80.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BA8B31
RGBrgb(186, 139, 49)
HSLhsl(39, 58%, 46%)
HSVhsv(39, 74%, 73%)
CMYKcmyk(0%, 25.3%, 73.7%, 27.1%)
CIE-LABlab(60.89, 9.14, 52.67)
CIE-LCHlch(60.89, 53.45, 80.16°)
OKLaboklab(66.63% 0.0206 0.1168)
OKLCHoklch(66.63% 0.119 80)
XYZxyz(30.0387, 29.1284, 6.9454)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8B31 #3160BA
analogous
#BA4631 #BA8B31 #A4BA31
triadic
#BA8B31 #31BA8B #8B31BA
tetradic
#BA8B31 #31BA46 #3160BA #BA31A4
square
#BA8B31 #31BA46 #3160BA #BA31A4
split-complementary
#BA8B31 #31A4BA #4631BA
monochromatic
#594317 #8A6724 #BA8B31 #D2A856 #DFC186

Accessibility & contrast

On white

3.08
#BA8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#BA8B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8B31
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8B31#FFFFFF#000000##000000
##BA8B311.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#CA7D79
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba8b31;
/* rgb */ color: rgb(186, 139, 49);
/* oklch */ color: oklch(66.6% 0.119 80.0);
Tailwind
colors: {
  custom: {
    50: '#d3ac6f',
    500: '#ba8b31',
    950: '#000000',
  },
}
SCSS
$custom: #ba8b31;
$custom-light: #d3ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8b31",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 39.416,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.11861,
    "h": 80
  },
  "luminance": 0.29126
}

Semantic roles & 50–950 ramp

primary
#BA8B31
secondary
#7E98C9
accent
#7CE246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8B31

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

Preview Lab → · Contrast checker → · Palette generator →

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