#BA7F2F#BA7F2F

#BA7F2F is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.3% C 0.119 H 70.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA7F2F
RGBrgb(186, 127, 47)
HSLhsl(35, 60%, 46%)
HSVhsv(35, 75%, 73%)
CMYKcmyk(0%, 31.7%, 74.7%, 27.1%)
CIE-LABlab(57.87, 15.68, 50.50)
CIE-LCHlch(57.87, 52.88, 72.75°)
OKLaboklab(64.26% 0.0395 0.1118)
OKLCHoklch(64.26% 0.119 70.6)
XYZxyz(28.3542, 25.8256, 6.1803)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F2F #2F6ABA
analogous
#BA392F #BA7F2F #B0BA2F
triadic
#BA7F2F #2FBA7F #7F2FBA
tetradic
#BA7F2F #2FBA39 #2F6ABA #BA2FB0
square
#BA7F2F #2FBA39 #2F6ABA #BA2FB0
split-complementary
#BA7F2F #2FB0BA #392FBA
monochromatic
#583C16 #895E23 #BA7F2F #D39D53 #E0B984

Accessibility & contrast

On white

3.41
#BA7F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA7F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F2F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F2F#FFFFFF#000000##000000
##BA7F2F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#CB706F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f2f;
/* rgb */ color: rgb(186, 127, 47);
/* oklch */ color: oklch(64.3% 0.119 70.6);
Tailwind
colors: {
  custom: {
    50: '#d4a46c',
    500: '#ba7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f2f;
$custom-light: #d4a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f2f",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 34.532,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.11854,
    "h": 70.6
  },
  "luminance": 0.25823
}

Semantic roles & 50–950 ramp

primary
#BA7F2F
secondary
#7C9DC9
accent
#88E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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