#BA8A31#BA8A31

#BA8A31 is a light, moderate orange. Relative luminance 0.288; OKLCH L 66.4% C 0.118 H 79.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BA8A31
RGBrgb(186, 138, 49)
HSLhsl(39, 58%, 46%)
HSVhsv(39, 74%, 73%)
CMYKcmyk(0%, 25.8%, 73.7%, 27.1%)
CIE-LABlab(60.64, 9.69, 52.41)
CIE-LCHlch(60.64, 53.30, 79.53°)
OKLaboklab(66.43% 0.0222 0.1163)
OKLCHoklch(66.43% 0.118 79.2)
XYZxyz(29.8945, 28.8401, 6.8973)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A31 #3161BA
analogous
#BA4531 #BA8A31 #A5BA31
triadic
#BA8A31 #31BA8A #8A31BA
tetradic
#BA8A31 #31BA45 #3161BA #BA31A5
square
#BA8A31 #31BA45 #3161BA #BA31A5
split-complementary
#BA8A31 #31A5BA #4531BA
monochromatic
#594217 #8A6624 #BA8A31 #D2A756 #DFC086

Accessibility & contrast

On white

3.10
#BA8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BA8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A31
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A31#FFFFFF#000000##000000
##BA8A311.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B25
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#CA7C78
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8a31;
/* rgb */ color: rgb(186, 138, 49);
/* oklch */ color: oklch(66.4% 0.118 79.2);
Tailwind
colors: {
  custom: {
    50: '#d3ab6f',
    500: '#ba8a31',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a31;
$custom-light: #d3ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a31",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 38.978,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.11837,
    "h": 79.2
  },
  "luminance": 0.28838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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