#BA7F3E#BA7F3E

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

Color values

HEX#BA7F3E
RGBrgb(186, 127, 62)
HSLhsl(31, 50%, 49%)
HSVhsv(31, 67%, 73%)
CMYKcmyk(0%, 31.7%, 66.7%, 27.1%)
CIE-LABlab(58.01, 16.49, 43.63)
CIE-LCHlch(58.01, 46.64, 69.30°)
OKLaboklab(64.41% 0.044 0.0999)
OKLCHoklch(64.41% 0.109 66.2)
XYZxyz(28.7105, 25.9681, 8.0567)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F3E #3E79BA
analogous
#BA413E #BA7F3E #B7BA3E
triadic
#BA7F3E #3EBA7F #7F3EBA
tetradic
#BA7F3E #3EBA41 #3E79BA #BA3EB7
square
#BA7F3E #3EBA41 #3E79BA #BA3EB7
split-complementary
#BA7F3E #3EB7BA #413EBA
monochromatic
#5E401F #8C602F #BA7F3E #CD9D68 #DCBB96

Accessibility & contrast

On white

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

On black

6.19
#BA7F3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F3E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F3E#FFFFFF#000000##000000
##BA7F3E1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba7f3e;
/* rgb */ color: rgb(186, 127, 62);
/* oklch */ color: oklch(64.4% 0.109 66.2);
Tailwind
colors: {
  custom: {
    50: '#d3a476',
    500: '#ba7f3e',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f3e;
$custom-light: #d3a476;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f3e",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 31.452,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.10919,
    "h": 66.2
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#BA7F3E
secondary
#8CA8C8
accent
#91DA4E
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#150F08
muted
#837F7B

Preview Lab

Preview with #BA7F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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