#BA794F#BA794F

#BA794F is a light, moderate orange. Relative luminance 0.247; OKLCH L 63.5% C 0.100 H 52.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA794F
RGBrgb(186, 121, 79)
HSLhsl(24, 44%, 52%)
HSVhsv(24, 58%, 73%)
CMYKcmyk(0%, 34.9%, 57.5%, 27.1%)
CIE-LABlab(56.76, 21.03, 33.28)
CIE-LCHlch(56.76, 39.37, 57.71°)
OKLaboklab(63.51% 0.0601 0.0794)
OKLCHoklch(63.51% 0.1 52.9)
XYZxyz(28.5002, 24.6808, 10.6585)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA794F #4F90BA
analogous
#BA4F5B #BA794F #BAAE4F
triadic
#BA794F #4FBA79 #794FBA
tetradic
#BA794F #5BBA4F #4F90BA #AE4FBA
square
#BA794F #5BBA4F #4F90BA #AE4FBA
split-complementary
#BA794F #4FBAAE #4F5BBA
monochromatic
#664128 #925C39 #BA794F #CB9A7B #DCBCA7

Accessibility & contrast

On white

3.54
#BA794F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#BA794F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA794F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA794F#FFFFFF#000000##000000
##BA794F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804B
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#CA6C6F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba794f;
/* rgb */ color: rgb(186, 121, 79);
/* oklch */ color: oklch(63.5% 0.100 52.9);
Tailwind
colors: {
  custom: {
    50: '#d2a081',
    500: '#ba794f',
    950: '#000000',
  },
}
SCSS
$custom: #ba794f;
$custom-light: #d2a081;
$custom-dark: #000000;
JSON
{
  "hex": "#ba794f",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 23.551,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.09959,
    "h": 52.9
  },
  "luminance": 0.24678
}

Semantic roles & 50–950 ramp

primary
#BA794F
secondary
#9BB7CA
accent
#A2D354
background
#FDF9F7
surface
#FAF2EE
border
#D3CCC9
text
#150E0A
muted
#837E7C

Preview Lab

Preview with #BA794F

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

Preview Lab → · Contrast checker → · Palette generator →

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