#BA7931#BA7931

#BA7931 is a light, moderate orange. Relative luminance 0.243; OKLCH L 63.1% C 0.118 H 65.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA7931
RGBrgb(186, 121, 49)
HSLhsl(32, 58%, 46%)
HSVhsv(32, 74%, 73%)
CMYKcmyk(0%, 34.9%, 73.7%, 27.1%)
CIE-LABlab(56.42, 19.10, 48.15)
CIE-LCHlch(56.42, 51.80, 68.36°)
OKLaboklab(63.14% 0.0498 0.1072)
OKLCHoklch(63.14% 0.118 65.1)
XYZxyz(27.6436, 24.3382, 6.1470)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7931 #3172BA
analogous
#BA3431 #BA7931 #B6BA31
triadic
#BA7931 #31BA79 #7931BA
tetradic
#BA7931 #31BA34 #3172BA #BA31B6
square
#BA7931 #31BA34 #3172BA #BA31B6
split-complementary
#BA7931 #31B6BA #3431BA
monochromatic
#593A17 #8A5924 #BA7931 #D29756 #DFB586

Accessibility & contrast

On white

3.58
#BA7931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BA7931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7931
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7931#FFFFFF#000000##000000
##BA79311.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E28
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#CB6A6A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba7931;
/* rgb */ color: rgb(186, 121, 49);
/* oklch */ color: oklch(63.1% 0.118 65.1);
Tailwind
colors: {
  custom: {
    50: '#d49f6d',
    500: '#ba7931',
    950: '#000000',
  },
}
SCSS
$custom: #ba7931;
$custom-light: #d49f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7931",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 31.533,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63138,
    "c": 0.11819,
    "h": 65.1
  },
  "luminance": 0.24336
}

Semantic roles & 50–950 ramp

primary
#BA7931
secondary
#7EA1C9
accent
#90E246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7931

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

Preview Lab → · Contrast checker → · Palette generator →

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