#BA7F3F#BA7F3F

#BA7F3F is a light, moderate orange. Relative luminance 0.260; OKLCH L 64.4% C 0.109 H 65.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA7F3F
RGBrgb(186, 127, 63)
HSLhsl(31, 49%, 49%)
HSVhsv(31, 66%, 73%)
CMYKcmyk(0%, 31.7%, 66.1%, 27.1%)
CIE-LABlab(58.02, 16.55, 43.15)
CIE-LCHlch(58.02, 46.21, 69.01°)
OKLaboklab(64.42% 0.0443 0.099)
OKLCHoklch(64.42% 0.109 65.9)
XYZxyz(28.7382, 25.9792, 8.2026)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F3F #3F7ABA
analogous
#BA423F #BA7F3F #B8BA3F
triadic
#BA7F3F #3FBA7F #7F3FBA
tetradic
#BA7F3F #3FBA42 #3F7ABA #BA3FB8
square
#BA7F3F #3FBA42 #3F7ABA #BA3FB8
split-complementary
#BA7F3F #3FB8BA #423FBA
monochromatic
#5F4120 #8C6030 #BA7F3F #CC9D6A #DCBB97

Accessibility & contrast

On white

3.39
#BA7F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA7F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F3F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F3F#FFFFFF#000000##000000
##BA7F3F1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928338
Deuteranopia (green-blind)
#A09140
Tritanopia (blue-blind)
#CA7171
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f3f;
/* rgb */ color: rgb(186, 127, 63);
/* oklch */ color: oklch(64.4% 0.109 65.9);
Tailwind
colors: {
  custom: {
    50: '#d3a476',
    500: '#ba7f3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f3f;
$custom-light: #d3a476;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f3f",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 31.22,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.64418,
    "c": 0.10851,
    "h": 65.9
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#BA7F3F
secondary
#8DA9C8
accent
#91D94F
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#150F09
muted
#837F7B

Preview Lab

Preview with #BA7F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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