#BA842C#BA842C

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

Color values

HEX#BA842C
RGBrgb(186, 132, 44)
HSLhsl(37, 62%, 45%)
HSVhsv(37, 76%, 73%)
CMYKcmyk(0%, 29%, 76.3%, 27.1%)
CIE-LABlab(59.09, 12.78, 52.97)
CIE-LCHlch(59.09, 54.49, 76.44°)
OKLaboklab(65.2% 0.0306 0.1164)
OKLCHoklch(65.2% 0.12 75.3)
XYZxyz(28.9576, 27.1259, 6.0931)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA842C #2C62BA
analogous
#BA3D2C #BA842C #A9BA2C
triadic
#BA842C #2CBA84 #842CBA
tetradic
#BA842C #2CBA3D #2C62BA #BA2CA9
square
#BA842C #2CBA3D #2C62BA #BA2CA9
split-complementary
#BA842C #2CA9BA #3D2CBA
monochromatic
#573E15 #896120 #BA842C #D5A24E #E1BC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA842C#FFFFFF#000000##000000
##BA842C1.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)
#98861F
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#CB7672
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba842c;
/* rgb */ color: rgb(186, 132, 44);
/* oklch */ color: oklch(65.2% 0.120 75.3);
Tailwind
colors: {
  custom: {
    50: '#d4a76b',
    500: '#ba842c',
    950: '#000000',
  },
}
SCSS
$custom: #ba842c;
$custom-light: #d4a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba842c",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 37.183,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65202,
    "c": 0.12034,
    "h": 75.3
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#BA842C
secondary
#7897CA
accent
#81E543
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA842C

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

Preview Lab → · Contrast checker → · Palette generator →

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