#BA7D2E#BA7D2E

#BA7D2E is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.9% C 0.119 H 69.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA7D2E
RGBrgb(186, 125, 46)
HSLhsl(34, 60%, 45%)
HSVhsv(34, 75%, 73%)
CMYKcmyk(0%, 32.8%, 75.3%, 27.1%)
CIE-LABlab(57.37, 16.74, 50.44)
CIE-LCHlch(57.37, 53.15, 71.64°)
OKLaboklab(63.87% 0.0425 0.1114)
OKLCHoklch(63.87% 0.119 69.1)
XYZxyz(28.0786, 25.3061, 5.9900)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D2E #2E6BBA
analogous
#BA372E #BA7D2E #B1BA2E
triadic
#BA7D2E #2EBA7D #7D2EBA
tetradic
#BA7D2E #2EBA37 #2E6BBA #BA2EB1
square
#BA7D2E #2EBA37 #2E6BBA #BA2EB1
split-complementary
#BA7D2E #2EB1BA #372EBA
monochromatic
#583B16 #895C22 #BA7D2E #D49B51 #E0B782

Accessibility & contrast

On white

3.46
#BA7D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA7D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D2E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D2E#FFFFFF#000000##000000
##BA7D2E1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d2e;
/* rgb */ color: rgb(186, 125, 46);
/* oklch */ color: oklch(63.9% 0.119 69.1);
Tailwind
colors: {
  custom: {
    50: '#d4a26c',
    500: '#ba7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d2e;
$custom-light: #d4a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d2e",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 33.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63867,
    "c": 0.11925,
    "h": 69.1
  },
  "luminance": 0.25304
}

Semantic roles & 50–950 ramp

primary
#BA7D2E
secondary
#7B9DC9
accent
#8AE344
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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