#BA812F#BA812F

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

Color values

HEX#BA812F
RGBrgb(186, 129, 47)
HSLhsl(35, 60%, 46%)
HSVhsv(35, 75%, 73%)
CMYKcmyk(0%, 30.6%, 74.7%, 27.1%)
CIE-LABlab(58.37, 14.57, 51.00)
CIE-LCHlch(58.37, 53.04, 74.05°)
OKLaboklab(64.64% 0.0362 0.1128)
OKLCHoklch(64.64% 0.119 72.2)
XYZxyz(28.6151, 26.3473, 6.2672)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA812F #2F68BA
analogous
#BA3C2F #BA812F #ADBA2F
triadic
#BA812F #2FBA81 #812FBA
tetradic
#BA812F #2FBA3C #2F68BA #BA2FAD
square
#BA812F #2FBA3C #2F68BA #BA2FAD
split-complementary
#BA812F #2FADBA #3C2FBA
monochromatic
#583D16 #895F23 #BA812F #D39F53 #E0BA84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA812F#FFFFFF#000000##000000
##BA812F1.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)
#958424
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#CB7370
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba812f;
/* rgb */ color: rgb(186, 129, 47);
/* oklch */ color: oklch(64.6% 0.118 72.2);
Tailwind
colors: {
  custom: {
    50: '#d4a56d',
    500: '#ba812f',
    950: '#000000',
  },
}
SCSS
$custom: #ba812f;
$custom-light: #d4a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba812f",
  "rgb": {
    "r": 186,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 35.396,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.1185,
    "h": 72.2
  },
  "luminance": 0.26345
}

Semantic roles & 50–950 ramp

primary
#BA812F
secondary
#7C9BC9
accent
#86E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA812F

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

Preview Lab → · Contrast checker → · Palette generator →

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