#BA812D#BA812D

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

Color values

HEX#BA812D
RGBrgb(186, 129, 45)
HSLhsl(36, 61%, 45%)
HSVhsv(36, 76%, 73%)
CMYKcmyk(0%, 30.6%, 75.8%, 27.1%)
CIE-LABlab(58.35, 14.48, 51.83)
CIE-LCHlch(58.35, 53.82, 74.39°)
OKLaboklab(64.63% 0.0357 0.1142)
OKLCHoklch(64.63% 0.12 72.6)
XYZxyz(28.5757, 26.3315, 6.0596)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA812D #2D66BA
analogous
#BA3B2D #BA812D #ACBA2D
triadic
#BA812D #2DBA81 #812DBA
tetradic
#BA812D #2DBA3B #2D66BA #BA2DAC
square
#BA812D #2DBA3B #2D66BA #BA2DAC
split-complementary
#BA812D #2DACBA #3B2DBA
monochromatic
#573D15 #895F21 #BA812D #D59F50 #E0BA81

Accessibility & contrast

On white

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

On black

6.27
#BA812D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA812D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA812D#FFFFFF#000000##000000
##BA812D1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958421
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#CB7270
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba812d;
/* rgb */ color: rgb(186, 129, 45);
/* oklch */ color: oklch(64.6% 0.120 72.6);
Tailwind
colors: {
  custom: {
    50: '#d4a56c',
    500: '#ba812d',
    950: '#000000',
  },
}
SCSS
$custom: #ba812d;
$custom-light: #d4a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba812d",
  "rgb": {
    "r": 186,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 35.745,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64627,
    "c": 0.11963,
    "h": 72.6
  },
  "luminance": 0.26329
}

Semantic roles & 50–950 ramp

primary
#BA812D
secondary
#799AC9
accent
#85E444
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA812D

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

Preview Lab → · Contrast checker → · Palette generator →

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