#BA7B40#BA7B40

#BA7B40 is a light, moderate orange. Relative luminance 0.250; OKLCH L 63.7% C 0.109 H 61.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA7B40
RGBrgb(186, 123, 64)
HSLhsl(29, 49%, 49%)
HSVhsv(29, 66%, 73%)
CMYKcmyk(0%, 33.9%, 65.6%, 27.1%)
CIE-LABlab(57.05, 18.83, 41.56)
CIE-LCHlch(57.05, 45.62, 65.62°)
OKLaboklab(63.67% 0.0513 0.0958)
OKLCHoklch(63.67% 0.109 61.8)
XYZxyz(28.2600, 24.9777, 8.1823)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B40 #407FBA
analogous
#BA4042 #BA7B40 #BAB840
triadic
#BA7B40 #40BA7B #7B40BA
tetradic
#BA7B40 #42BA40 #407FBA #B840BA
square
#BA7B40 #42BA40 #407FBA #B840BA
split-complementary
#BA7B40 #40BAB8 #4042BA
monochromatic
#5F3F21 #8C5D30 #BA7B40 #CC9A6B #DCB999

Accessibility & contrast

On white

3.50
#BA7B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA7B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B40
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B40#FFFFFF#000000##000000
##BA7B401.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F803A
Deuteranopia (green-blind)
#9D8F41
Tritanopia (blue-blind)
#CA6D6E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7b40;
/* rgb */ color: rgb(186, 123, 64);
/* oklch */ color: oklch(63.7% 0.109 61.8);
Tailwind
colors: {
  custom: {
    50: '#d3a177',
    500: '#ba7b40',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b40;
$custom-light: #d3a177;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b40",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 29.016,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.10863,
    "h": 61.8
  },
  "luminance": 0.24975
}

Semantic roles & 50–950 ramp

primary
#BA7B40
secondary
#8EACC8
accent
#96D84F
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150F09
muted
#837E7B

Preview Lab

Preview with #BA7B40

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

Preview Lab → · Contrast checker → · Palette generator →

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