#BA7A31#BA7A31

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

Color values

HEX#BA7A31
RGBrgb(186, 122, 49)
HSLhsl(32, 58%, 46%)
HSVhsv(32, 74%, 73%)
CMYKcmyk(0%, 34.4%, 73.7%, 27.1%)
CIE-LABlab(56.67, 18.55, 48.39)
CIE-LCHlch(56.67, 51.83, 69.03°)
OKLaboklab(63.33% 0.0482 0.1077)
OKLCHoklch(63.33% 0.118 65.9)
XYZxyz(27.7657, 24.5825, 6.1877)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7A31 #3171BA
analogous
#BA3531 #BA7A31 #B5BA31
triadic
#BA7A31 #31BA7A #7A31BA
tetradic
#BA7A31 #31BA35 #3171BA #BA31B5
square
#BA7A31 #31BA35 #3171BA #BA31B5
split-complementary
#BA7A31 #31B5BA #3531BA
monochromatic
#593A17 #8A5A24 #BA7A31 #D29856 #DFB686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7A31#FFFFFF#000000##000000
##BA7A311.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)
#8F7F28
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#CB6B6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7a31;
/* rgb */ color: rgb(186, 122, 49);
/* oklch */ color: oklch(63.3% 0.118 65.9);
Tailwind
colors: {
  custom: {
    50: '#d4a06d',
    500: '#ba7a31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7a31;
$custom-light: #d4a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7a31",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 31.971,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63326,
    "c": 0.118,
    "h": 65.9
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#BA7A31
secondary
#7EA1C9
accent
#8FE246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7A31

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

Preview Lab → · Contrast checker → · Palette generator →

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