#BA8A40#BA8A40

#BA8A40 is a light, moderate orange. Relative luminance 0.290; OKLCH L 66.6% C 0.108 H 75.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#BA8A40
RGBrgb(186, 138, 64)
HSLhsl(36, 49%, 49%)
HSVhsv(36, 66%, 73%)
CMYKcmyk(0%, 25.8%, 65.6%, 27.1%)
CIE-LABlab(60.77, 10.52, 45.73)
CIE-LCHlch(60.77, 46.92, 77.04°)
OKLaboklab(66.57% 0.0267 0.1047)
OKLCHoklch(66.57% 0.108 75.7)
XYZxyz(30.2654, 28.9885, 8.8508)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A40 #4070BA
analogous
#BA4D40 #BA8A40 #ADBA40
triadic
#BA8A40 #40BA8A #8A40BA
tetradic
#BA8A40 #40BA4D #4070BA #BA40AD
square
#BA8A40 #40BA4D #4070BA #BA40AD
split-complementary
#BA8A40 #40ADBA #4D40BA
monochromatic
#5F4621 #8C6830 #BA8A40 #CCA66B #DCC199

Accessibility & contrast

On white

3.09
#BA8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#BA8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A40
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A40#FFFFFF#000000##000000
##BA8A401.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C38
Deuteranopia (green-blind)
#A79742
Tritanopia (blue-blind)
#CA7D7A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba8a40;
/* rgb */ color: rgb(186, 138, 64);
/* oklch */ color: oklch(66.6% 0.108 75.7);
Tailwind
colors: {
  custom: {
    50: '#d2ac78',
    500: '#ba8a40',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a40;
$custom-light: #d2ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a40",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 36.393,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.10807,
    "h": 75.7
  },
  "luminance": 0.28986
}

Semantic roles & 50–950 ramp

primary
#BA8A40
secondary
#8EA5C8
accent
#85D84F
background
#FDFAF7
surface
#FAF4ED
border
#D3CEC8
text
#151009
muted
#837F7B

Preview Lab

Preview with #BA8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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