#BA8938#BA8938

#BA8938 is a light, moderate orange. Relative luminance 0.286; OKLCH L 66.3% C 0.114 H 76.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#BA8938
RGBrgb(186, 137, 56)
HSLhsl(37, 54%, 47%)
HSVhsv(37, 70%, 73%)
CMYKcmyk(0%, 26.3%, 69.9%, 27.1%)
CIE-LABlab(60.44, 10.60, 49.13)
CIE-LCHlch(60.44, 50.26, 77.83°)
OKLaboklab(66.29% 0.0258 0.1106)
OKLCHoklch(66.29% 0.114 76.9)
XYZxyz(29.9111, 28.6182, 7.6891)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8938 #3869BA
analogous
#BA4838 #BA8938 #AABA38
triadic
#BA8938 #38BA89 #8938BA
tetradic
#BA8938 #38BA48 #3869BA #BA38AA
square
#BA8938 #38BA48 #3869BA #BA38AA
split-complementary
#BA8938 #38AABA #4838BA
monochromatic
#5C441C #8B662A #BA8938 #CFA560 #DDC08F

Accessibility & contrast

On white

3.12
#BA8938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#BA8938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8938
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8938#FFFFFF#000000##000000
##BA89381.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba8938;
/* rgb */ color: rgb(186, 137, 56);
/* oklch */ color: oklch(66.3% 0.114 76.9);
Tailwind
colors: {
  custom: {
    50: '#d3ab73',
    500: '#ba8938',
    950: '#000000',
  },
}
SCSS
$custom: #ba8938;
$custom-light: #d3ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8938",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 37.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.11361,
    "h": 76.9
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

primary
#BA8938
secondary
#869FC8
accent
#82DD4B
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8938

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

Preview Lab → · Contrast checker → · Palette generator →

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