#BA8C31#BA8C31

#BA8C31 is a light, moderate orange. Relative luminance 0.294; OKLCH L 66.8% C 0.119 H 80.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BA8C31
RGBrgb(186, 140, 49)
HSLhsl(40, 58%, 46%)
HSVhsv(40, 74%, 73%)
CMYKcmyk(0%, 24.7%, 73.7%, 27.1%)
CIE-LABlab(61.15, 8.58, 52.92)
CIE-LCHlch(61.15, 53.61, 80.79°)
OKLaboklab(66.83% 0.019 0.1173)
OKLCHoklch(66.83% 0.119 80.8)
XYZxyz(30.1841, 29.4193, 6.9939)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8C31 #315FBA
analogous
#BA4731 #BA8C31 #A3BA31
triadic
#BA8C31 #31BA8C #8C31BA
tetradic
#BA8C31 #31BA47 #315FBA #BA31A3
square
#BA8C31 #31BA47 #315FBA #BA31A3
split-complementary
#BA8C31 #31A3BA #4731BA
monochromatic
#594317 #8A6824 #BA8C31 #D2A956 #DFC186

Accessibility & contrast

On white

3.05
#BA8C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BA8C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8C31
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8C31#FFFFFF#000000##000000
##BA8C311.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D24
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#CA7E7A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba8c31;
/* rgb */ color: rgb(186, 140, 49);
/* oklch */ color: oklch(66.8% 0.119 80.8);
Tailwind
colors: {
  custom: {
    50: '#d3ad6f',
    500: '#ba8c31',
    950: '#000000',
  },
}
SCSS
$custom: #ba8c31;
$custom-light: #d3ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8c31",
  "rgb": {
    "r": 186,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 39.854,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.11887,
    "h": 80.8
  },
  "luminance": 0.29417
}

Semantic roles & 50–950 ramp

primary
#BA8C31
secondary
#7E97C9
accent
#7AE246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8C31

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

Preview Lab → · Contrast checker → · Palette generator →

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