#BA8B2B#BA8B2B

#BA8B2B is a light, vivid orange. Relative luminance 0.291; OKLCH L 66.6% C 0.122 H 81.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BA8B2B
RGBrgb(186, 139, 43)
HSLhsl(40, 62%, 45%)
HSVhsv(40, 77%, 73%)
CMYKcmyk(0%, 25.3%, 76.9%, 27.1%)
CIE-LABlab(60.85, 8.87, 55.06)
CIE-LCHlch(60.85, 55.77, 80.85°)
OKLaboklab(66.58% 0.0191 0.1206)
OKLCHoklch(66.58% 0.122 81)
XYZxyz(29.9204, 29.0810, 6.3224)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8B2B #2B5ABA
analogous
#BA442B #BA8B2B #A1BA2B
triadic
#BA8B2B #2BBA8B #8B2BBA
tetradic
#BA8B2B #2BBA44 #2B5ABA #BA2BA1
square
#BA8B2B #2BBA44 #2B5ABA #BA2BA1
split-complementary
#BA8B2B #2BA1BA #442BBA
monochromatic
#574114 #886620 #BA8B2B #D6A94C #E1C17E

Accessibility & contrast

On white

3.08
#BA8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BA8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8B2B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8B2B#FFFFFF#000000##000000
##BA8B2B1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#A9982F
Tritanopia (blue-blind)
#CA7D78
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba8b2b;
/* rgb */ color: rgb(186, 139, 43);
/* oklch */ color: oklch(66.6% 0.122 81.0);
Tailwind
colors: {
  custom: {
    50: '#d3ac6b',
    500: '#ba8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba8b2b;
$custom-light: #d3ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8b2b",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 40.28,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.12215,
    "h": 81
  },
  "luminance": 0.29079
}

Semantic roles & 50–950 ramp

primary
#BA8B2B
secondary
#7792CA
accent
#78E642
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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