#BA7E40#BA7E40

#BA7E40 is a light, moderate orange. Relative luminance 0.257; OKLCH L 64.2% C 0.108 H 64.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA7E40
RGBrgb(186, 126, 64)
HSLhsl(30, 49%, 49%)
HSVhsv(30, 66%, 73%)
CMYKcmyk(0%, 32.3%, 65.6%, 27.1%)
CIE-LABlab(57.78, 17.17, 42.38)
CIE-LCHlch(57.78, 45.73, 67.95°)
OKLaboklab(64.24% 0.0463 0.0976)
OKLCHoklch(64.24% 0.108 64.6)
XYZxyz(28.6379, 25.7334, 8.3083)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E40 #407CBA
analogous
#BA4140 #BA7E40 #B9BA40
triadic
#BA7E40 #40BA7E #7E40BA
tetradic
#BA7E40 #40BA41 #407CBA #BA40B9
square
#BA7E40 #40BA41 #407CBA #BA40B9
split-complementary
#BA7E40 #40B9BA #4140BA
monochromatic
#5F4021 #8C5F30 #BA7E40 #CC9C6B #DCBB99

Accessibility & contrast

On white

3.42
#BA7E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#BA7E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E40
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E40#FFFFFF#000000##000000
##BA7E401.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833A
Deuteranopia (green-blind)
#9F9041
Tritanopia (blue-blind)
#CA7070
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7e40;
/* rgb */ color: rgb(186, 126, 64);
/* oklch */ color: oklch(64.2% 0.108 64.6);
Tailwind
colors: {
  custom: {
    50: '#d3a377',
    500: '#ba7e40',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e40;
$custom-light: #d3a377;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e40",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 30.492,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.10799,
    "h": 64.6
  },
  "luminance": 0.25731
}

Semantic roles & 50–950 ramp

primary
#BA7E40
secondary
#8EAAC8
accent
#93D84F
background
#FDFAF7
surface
#FBF3ED
border
#D4CDC8
text
#150F09
muted
#837F7B

Preview Lab

Preview with #BA7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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