#BA842A#BA842A

#BA842A is a light, vivid orange. Relative luminance 0.271; OKLCH L 65.2% C 0.121 H 75.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BA842A
RGBrgb(186, 132, 42)
HSLhsl(38, 63%, 45%)
HSVhsv(38, 77%, 73%)
CMYKcmyk(0%, 29%, 77.4%, 27.1%)
CIE-LABlab(59.08, 12.69, 53.76)
CIE-LCHlch(59.08, 55.24, 76.72°)
OKLaboklab(65.19% 0.0301 0.1176)
OKLCHoklch(65.19% 0.121 75.6)
XYZxyz(28.9210, 27.1112, 5.8998)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA842A #2A60BA
analogous
#BA3C2A #BA842A #A8BA2A
triadic
#BA842A #2ABA84 #842ABA
tetradic
#BA842A #2ABA3C #2A60BA #BA2AA8
square
#BA842A #2ABA3C #2A60BA #BA2AA8
split-complementary
#BA842A #2AA8BA #3C2ABA
monochromatic
#563D13 #88611F #BA842A #D6A24B #E2BC7D

Accessibility & contrast

On white

3.27
#BA842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#BA842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA842A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA842A#FFFFFF#000000##000000
##BA842A1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#CB7672
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba842a;
/* rgb */ color: rgb(186, 132, 42);
/* oklch */ color: oklch(65.2% 0.121 75.6);
Tailwind
colors: {
  custom: {
    50: '#d4a76a',
    500: '#ba842a',
    950: '#000000',
  },
}
SCSS
$custom: #ba842a;
$custom-light: #d4a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba842a",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 37.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.12143,
    "h": 75.6
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#BA842A
secondary
#7695CA
accent
#7FE642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA842A

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

Preview Lab → · Contrast checker → · Palette generator →

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