#BA7B31#BA7B31

#BA7B31 is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.5% C 0.118 H 66.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA7B31
RGBrgb(186, 123, 49)
HSLhsl(32, 58%, 46%)
HSVhsv(32, 74%, 73%)
CMYKcmyk(0%, 33.9%, 73.7%, 27.1%)
CIE-LABlab(56.91, 17.99, 48.64)
CIE-LCHlch(56.91, 51.86, 69.70°)
OKLaboklab(63.51% 0.0466 0.1082)
OKLCHoklch(63.51% 0.118 66.7)
XYZxyz(27.8891, 24.8293, 6.2289)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B31 #3170BA
analogous
#BA3631 #BA7B31 #B4BA31
triadic
#BA7B31 #31BA7B #7B31BA
tetradic
#BA7B31 #31BA36 #3170BA #BA31B4
square
#BA7B31 #31BA36 #3170BA #BA31B4
split-complementary
#BA7B31 #31B4BA #3631BA
monochromatic
#593B17 #8A5B24 #BA7B31 #D29956 #DFB686

Accessibility & contrast

On white

3.52
#BA7B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BA7B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B31
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B31#FFFFFF#000000##000000
##BA7B311.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#CB6C6C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7b31;
/* rgb */ color: rgb(186, 123, 49);
/* oklch */ color: oklch(63.5% 0.118 66.7);
Tailwind
colors: {
  custom: {
    50: '#d4a16d',
    500: '#ba7b31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b31;
$custom-light: #d4a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b31",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 32.409,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.11783,
    "h": 66.7
  },
  "luminance": 0.24827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA7B31

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

Preview Lab → · Contrast checker → · Palette generator →

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