#BA7F4E#BA7F4E

#BA7F4E is a light, moderate orange. Relative luminance 0.262; OKLCH L 64.6% C 0.098 H 59.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA7F4E
RGBrgb(186, 127, 78)
HSLhsl(27, 44%, 52%)
HSVhsv(27, 58%, 73%)
CMYKcmyk(0%, 31.7%, 58.1%, 27.1%)
CIE-LABlab(58.20, 17.62, 35.58)
CIE-LCHlch(58.20, 39.70, 63.65°)
OKLaboklab(64.62% 0.0497 0.0844)
OKLCHoklch(64.62% 0.098 59.5)
XYZxyz(29.2160, 26.1703, 10.7189)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F4E #4E89BA
analogous
#BA4E53 #BA7F4E #BAB54E
triadic
#BA7F4E #4EBA7F #7F4EBA
tetradic
#BA7F4E #53BA4E #4E89BA #B54EBA
square
#BA7F4E #53BA4E #4E89BA #B54EBA
split-complementary
#BA7F4E #4EBAB5 #4E53BA
monochromatic
#664428 #926139 #BA7F4E #CB9F7A #DCBFA6

Accessibility & contrast

On white

3.37
#BA7F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#BA7F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F4E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F4E#FFFFFF#000000##000000
##BA7F4E1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844A
Deuteranopia (green-blind)
#9F914E
Tritanopia (blue-blind)
#C97373
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba7f4e;
/* rgb */ color: rgb(186, 127, 78);
/* oklch */ color: oklch(64.6% 0.098 59.5);
Tailwind
colors: {
  custom: {
    50: '#d2a481',
    500: '#ba7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f4e;
$custom-light: #d2a481;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f4e",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 27.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.09799,
    "h": 59.5
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#BA7F4E
secondary
#9AB4CA
accent
#9AD454
background
#FDFAF7
surface
#FAF4EE
border
#D3CEC9
text
#150F0A
muted
#837F7C

Preview Lab

Preview with #BA7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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