#BA795F#BA795F

#BA795F is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.8% C 0.090 H 42.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA795F
RGBrgb(186, 121, 95)
HSLhsl(17, 40%, 55%)
HSVhsv(17, 49%, 73%)
CMYKcmyk(0%, 34.9%, 48.9%, 27.1%)
CIE-LABlab(57.02, 22.46, 24.70)
CIE-LCHlch(57.02, 33.39, 47.72°)
OKLaboklab(63.79% 0.0665 0.061)
OKLCHoklch(63.79% 0.09 42.5)
XYZxyz(29.1542, 24.9425, 14.1031)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA795F #5FA0BA
analogous
#BA5F72 #BA795F #BAA75F
triadic
#BA795F #5FBA79 #795FBA
tetradic
#BA795F #72BA5F #5FA0BA #A75FBA
square
#BA795F #72BA5F #5FA0BA #A75FBA
split-complementary
#BA795F #5FBAA7 #5F72BA
monochromatic
#6F4230 #9A5B42 #BA795F #CC9D8A #DFC1B5

Accessibility & contrast

On white

3.51
#BA795F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#BA795F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA795F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA795F#FFFFFF#000000##000000
##BA795F1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815D
Deuteranopia (green-blind)
#998E5F
Tritanopia (blue-blind)
#C96E72
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba795f;
/* rgb */ color: rgb(186, 121, 95);
/* oklch */ color: oklch(63.8% 0.090 42.5);
Tailwind
colors: {
  custom: {
    50: '#d2a08c',
    500: '#ba795f',
    950: '#000000',
  },
}
SCSS
$custom: #ba795f;
$custom-light: #d2a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba795f",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 17.143,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.09019,
    "h": 42.5
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#BA795F
secondary
#A7C3CD
accent
#ADD058
background
#FDF9F8
surface
#FAF2F0
border
#D3CCCB
text
#140E0C
muted
#837E7D

Preview Lab

Preview with #BA795F

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

Preview Lab → · Contrast checker → · Palette generator →

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