#BA7A34#BA7A34

#BA7A34 is a light, moderate orange. Relative luminance 0.246; OKLCH L 63.4% C 0.116 H 65.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA7A34
RGBrgb(186, 122, 52)
HSLhsl(31, 56%, 47%)
HSVhsv(31, 72%, 73%)
CMYKcmyk(0%, 34.4%, 72%, 27.1%)
CIE-LABlab(56.69, 18.69, 47.04)
CIE-LCHlch(56.69, 50.62, 68.32°)
OKLaboklab(63.35% 0.0491 0.1054)
OKLCHoklch(63.35% 0.116 65)
XYZxyz(27.8312, 24.6087, 6.5323)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7A34 #3474BA
analogous
#BA3734 #BA7A34 #B7BA34
triadic
#BA7A34 #34BA7A #7A34BA
tetradic
#BA7A34 #34BA37 #3474BA #BA34B7
square
#BA7A34 #34BA37 #3474BA #BA34B7
split-complementary
#BA7A34 #34B7BA #3734BA
monochromatic
#5A3B19 #8A5B27 #BA7A34 #D1985A #DEB68A

Accessibility & contrast

On white

3.55
#BA7A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BA7A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7A34
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7A34#FFFFFF#000000##000000
##BA7A341.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2C
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#CB6B6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7a34;
/* rgb */ color: rgb(186, 122, 52);
/* oklch */ color: oklch(63.4% 0.116 65.0);
Tailwind
colors: {
  custom: {
    50: '#d4a06f',
    500: '#ba7a34',
    950: '#000000',
  },
}
SCSS
$custom: #ba7a34;
$custom-light: #d4a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7a34",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 31.343,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.11629,
    "h": 65
  },
  "luminance": 0.24606
}

Semantic roles & 50–950 ramp

primary
#BA7A34
secondary
#81A3C8
accent
#91E048
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7A34

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

Preview Lab → · Contrast checker → · Palette generator →

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