#BA7D2D#BA7D2D

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

Color values

HEX#BA7D2D
RGBrgb(186, 125, 45)
HSLhsl(34, 61%, 45%)
HSVhsv(34, 76%, 73%)
CMYKcmyk(0%, 32.8%, 75.8%, 27.1%)
CIE-LABlab(57.36, 16.70, 50.86)
CIE-LCHlch(57.36, 53.53, 71.82°)
OKLaboklab(63.86% 0.0422 0.1121)
OKLCHoklch(63.86% 0.12 69.4)
XYZxyz(28.0591, 25.2983, 5.8874)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D2D #2D6ABA
analogous
#BA372D #BA7D2D #B0BA2D
triadic
#BA7D2D #2DBA7D #7D2DBA
tetradic
#BA7D2D #2DBA37 #2D6ABA #BA2DB0
square
#BA7D2D #2DBA37 #2D6ABA #BA2DB0
split-complementary
#BA7D2D #2DB0BA #372DBA
monochromatic
#573B15 #895C21 #BA7D2D #D59B50 #E0B781

Accessibility & contrast

On white

3.47
#BA7D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7D2D#FFFFFF#000000##000000
##BA7D2D1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba7d2d;
/* rgb */ color: rgb(186, 125, 45);
/* oklch */ color: oklch(63.9% 0.120 69.4);
Tailwind
colors: {
  custom: {
    50: '#d4a26b',
    500: '#ba7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d2d;
$custom-light: #d4a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d2d",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 34.043,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.11979,
    "h": 69.4
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

primary
#BA7D2D
secondary
#799CC9
accent
#89E444
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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