#BA7C40#BA7C40

#BA7C40 is a light, moderate orange. Relative luminance 0.252; OKLCH L 63.9% C 0.108 H 62.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA7C40
RGBrgb(186, 124, 64)
HSLhsl(30, 49%, 49%)
HSVhsv(30, 66%, 73%)
CMYKcmyk(0%, 33.3%, 65.6%, 27.1%)
CIE-LABlab(57.30, 18.28, 41.83)
CIE-LCHlch(57.30, 45.65, 66.40°)
OKLaboklab(63.86% 0.0496 0.0964)
OKLCHoklch(63.86% 0.108 62.8)
XYZxyz(28.3847, 25.2271, 8.2239)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C40 #407EBA
analogous
#BA4041 #BA7C40 #BAB940
triadic
#BA7C40 #40BA7C #7C40BA
tetradic
#BA7C40 #41BA40 #407EBA #B940BA
square
#BA7C40 #41BA40 #407EBA #B940BA
split-complementary
#BA7C40 #40BAB9 #4041BA
monochromatic
#5F3F21 #8C5E30 #BA7C40 #CC9B6B #DCBA99

Accessibility & contrast

On white

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

On black

6.04
#BA7C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C40
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C40#FFFFFF#000000##000000
##BA7C401.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#9E8F41
Tritanopia (blue-blind)
#CA6E6E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7c40;
/* rgb */ color: rgb(186, 124, 64);
/* oklch */ color: oklch(63.9% 0.108 62.8);
Tailwind
colors: {
  custom: {
    50: '#d3a277',
    500: '#ba7c40',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c40;
$custom-light: #d3a277;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c40",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 29.508,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.10839,
    "h": 62.8
  },
  "luminance": 0.25225
}

Semantic roles & 50–950 ramp

primary
#BA7C40
secondary
#8EABC8
accent
#95D84F
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150F09
muted
#837E7B

Preview Lab

Preview with #BA7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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