#BA812C#BA812C

#BA812C is a light, vivid orange. Relative luminance 0.263; OKLCH L 64.6% C 0.120 H 72.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA812C
RGBrgb(186, 129, 44)
HSLhsl(36, 62%, 45%)
HSVhsv(36, 76%, 73%)
CMYKcmyk(0%, 30.6%, 76.3%, 27.1%)
CIE-LABlab(58.34, 14.44, 52.24)
CIE-LCHlch(58.34, 54.20, 74.55°)
OKLaboklab(64.62% 0.0354 0.1148)
OKLCHoklch(64.62% 0.12 72.8)
XYZxyz(28.5567, 26.3239, 5.9594)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA812C #2C65BA
analogous
#BA3A2C #BA812C #ACBA2C
triadic
#BA812C #2CBA81 #812CBA
tetradic
#BA812C #2CBA3A #2C65BA #BA2CAC
square
#BA812C #2CBA3A #2C65BA #BA2CAC
split-complementary
#BA812C #2CACBA #3A2CBA
monochromatic
#573C15 #895F20 #BA812C #D59F4E #E1BA80

Accessibility & contrast

On white

3.35
#BA812C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA812C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA812C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA812C#FFFFFF#000000##000000
##BA812C1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841F
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#CB7270
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba812c;
/* rgb */ color: rgb(186, 129, 44);
/* oklch */ color: oklch(64.6% 0.120 72.8);
Tailwind
colors: {
  custom: {
    50: '#d4a56b',
    500: '#ba812c',
    950: '#000000',
  },
}
SCSS
$custom: #ba812c;
$custom-light: #d4a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba812c",
  "rgb": {
    "r": 186,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 35.915,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64619,
    "c": 0.12018,
    "h": 72.8
  },
  "luminance": 0.26321
}

Semantic roles & 50–950 ramp

primary
#BA812C
secondary
#7899CA
accent
#84E543
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA812C

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

Preview Lab → · Contrast checker → · Palette generator →

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