#BA7C31#BA7C31

#BA7C31 is a light, moderate orange. Relative luminance 0.251; OKLCH L 63.7% C 0.118 H 67.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA7C31
RGBrgb(186, 124, 49)
HSLhsl(33, 58%, 46%)
HSVhsv(33, 74%, 73%)
CMYKcmyk(0%, 33.3%, 73.7%, 27.1%)
CIE-LABlab(57.15, 17.44, 48.89)
CIE-LCHlch(57.15, 51.91, 70.37°)
OKLaboklab(63.7% 0.0449 0.1088)
OKLCHoklch(63.7% 0.118 67.6)
XYZxyz(28.0138, 25.0787, 6.2704)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C31 #316FBA
analogous
#BA3731 #BA7C31 #B3BA31
triadic
#BA7C31 #31BA7C #7C31BA
tetradic
#BA7C31 #31BA37 #316FBA #BA31B3
square
#BA7C31 #31BA37 #316FBA #BA31B3
split-complementary
#BA7C31 #31B3BA #3731BA
monochromatic
#593B17 #8A5C24 #BA7C31 #D29A56 #DFB786

Accessibility & contrast

On white

3.49
#BA7C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BA7C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C31
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C31#FFFFFF#000000##000000
##BA7C311.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908127
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#CB6D6C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7c31;
/* rgb */ color: rgb(186, 124, 49);
/* oklch */ color: oklch(63.7% 0.118 67.6);
Tailwind
colors: {
  custom: {
    50: '#d4a26d',
    500: '#ba7c31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c31;
$custom-light: #d4a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c31",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 32.847,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63703,
    "c": 0.11768,
    "h": 67.6
  },
  "luminance": 0.25076
}

Semantic roles & 50–950 ramp

primary
#BA7C31
secondary
#7EA0C9
accent
#8DE246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7C31

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

Preview Lab → · Contrast checker → · Palette generator →

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