#BA7D40#BA7D40

#BA7D40 is a light, moderate orange. Relative luminance 0.255; OKLCH L 64.0% C 0.108 H 63.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA7D40
RGBrgb(186, 125, 64)
HSLhsl(30, 49%, 49%)
HSVhsv(30, 66%, 73%)
CMYKcmyk(0%, 32.8%, 65.6%, 27.1%)
CIE-LABlab(57.54, 17.72, 42.11)
CIE-LCHlch(57.54, 45.68, 67.17°)
OKLaboklab(64.05% 0.048 0.097)
OKLCHoklch(64.05% 0.108 63.7)
XYZxyz(28.5107, 25.4790, 8.2659)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D40 #407DBA
analogous
#BA4040 #BA7D40 #BABA40
triadic
#BA7D40 #40BA7D #7D40BA
tetradic
#BA7D40 #40BA40 #407DBA #BA40BA
square
#BA7D40 #40BA40 #407DBA #BA40BA
split-complementary
#BA7D40 #40BABA #4040BA
monochromatic
#5F4021 #8C5E30 #BA7D40 #CC9C6B #DCBA99

Accessibility & contrast

On white

3.45
#BA7D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA7D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D40
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D40#FFFFFF#000000##000000
##BA7D401.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823A
Deuteranopia (green-blind)
#9F9041
Tritanopia (blue-blind)
#CA6F6F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d40;
/* rgb */ color: rgb(186, 125, 64);
/* oklch */ color: oklch(64.0% 0.108 63.7);
Tailwind
colors: {
  custom: {
    50: '#d3a277',
    500: '#ba7d40',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d40;
$custom-light: #d3a277;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d40",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 30,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.10817,
    "h": 63.7
  },
  "luminance": 0.25476
}

Semantic roles & 50–950 ramp

primary
#BA7D40
secondary
#8EABC8
accent
#94D84F
background
#FDFAF7
surface
#FBF3ED
border
#D4CDC8
text
#150F09
muted
#837F7B

Preview Lab

Preview with #BA7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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