#BA7951#BA7951

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

Color values

HEX#BA7951
RGBrgb(186, 121, 81)
HSLhsl(23, 43%, 52%)
HSVhsv(23, 56%, 73%)
CMYKcmyk(0%, 34.9%, 56.5%, 27.1%)
CIE-LABlab(56.79, 21.19, 32.22)
CIE-LCHlch(56.79, 38.57, 56.67°)
OKLaboklab(63.54% 0.0609 0.0772)
OKLCHoklch(63.54% 0.098 51.8)
XYZxyz(28.5741, 24.7104, 11.0477)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7951 #5192BA
analogous
#BA515E #BA7951 #BAAD51
triadic
#BA7951 #51BA79 #7951BA
tetradic
#BA7951 #5EBA51 #5192BA #AD51BA
square
#BA7951 #5EBA51 #5192BA #AD51BA
split-complementary
#BA7951 #51BAAD #515EBA
monochromatic
#684129 #935C3A #BA7951 #CB9B7D #DDBCA9

Accessibility & contrast

On white

3.53
#BA7951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7951#FFFFFF#000000##000000
##BA79511.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#C96D6F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7951;
/* rgb */ color: rgb(186, 121, 81);
/* oklch */ color: oklch(63.5% 0.098 51.8);
Tailwind
colors: {
  custom: {
    50: '#d2a082',
    500: '#ba7951',
    950: '#000000',
  },
}
SCSS
$custom: #ba7951;
$custom-light: #d2a082;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7951",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 81
  },
  "hsl": {
    "h": 22.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.63541,
    "c": 0.09834,
    "h": 51.8
  },
  "luminance": 0.24708
}

Semantic roles & 50–950 ramp

primary
#BA7951
secondary
#9DB9CA
accent
#A3D355
background
#FDF9F8
surface
#FAF2EF
border
#D3CCCA
text
#150E0A
muted
#837E7C

Preview Lab

Preview with #BA7951

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

Preview Lab → · Contrast checker → · Palette generator →

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