#BA8942#BA8942

#BA8942 is a light, moderate orange. Relative luminance 0.287; OKLCH L 66.4% C 0.106 H 74.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BA8942
RGBrgb(186, 137, 66)
HSLhsl(36, 48%, 49%)
HSVhsv(36, 65%, 73%)
CMYKcmyk(0%, 26.3%, 64.5%, 27.1%)
CIE-LABlab(60.54, 11.20, 44.49)
CIE-LCHlch(60.54, 45.88, 75.87°)
OKLaboklab(66.4% 0.029 0.1024)
OKLCHoklch(66.4% 0.106 74.2)
XYZxyz(30.1806, 28.7260, 9.1083)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8942 #4273BA
analogous
#BA4D42 #BA8942 #AFBA42
triadic
#BA8942 #42BA89 #8942BA
tetradic
#BA8942 #42BA4D #4273BA #BA42AF
square
#BA8942 #42BA4D #4273BA #BA42AF
split-complementary
#BA8942 #42AFBA #4D42BA
monochromatic
#604622 #8D6832 #BA8942 #CBA56E #DBC19B

Accessibility & contrast

On white

3.11
#BA8942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BA8942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8942
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8942#FFFFFF#000000##000000
##BA89421.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3B
Deuteranopia (green-blind)
#A69744
Tritanopia (blue-blind)
#CA7C79
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8942;
/* rgb */ color: rgb(186, 137, 66);
/* oklch */ color: oklch(66.4% 0.106 74.2);
Tailwind
colors: {
  custom: {
    50: '#d2ab79',
    500: '#ba8942',
    950: '#000000',
  },
}
SCSS
$custom: #ba8942;
$custom-light: #d2ab79;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8942",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 35.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.1064,
    "h": 74.2
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#BA8942
secondary
#90A7C8
accent
#88D751
background
#FDFAF7
surface
#FAF4ED
border
#D3CEC8
text
#151009
muted
#837F7B

Preview Lab

Preview with #BA8942

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

Preview Lab → · Contrast checker → · Palette generator →

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