#BA7E31#BA7E31

#BA7E31 is a light, moderate orange. Relative luminance 0.256; OKLCH L 64.1% C 0.117 H 69.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA7E31
RGBrgb(186, 126, 49)
HSLhsl(34, 58%, 46%)
HSVhsv(34, 74%, 73%)
CMYKcmyk(0%, 32.3%, 73.7%, 27.1%)
CIE-LABlab(57.64, 16.33, 49.39)
CIE-LCHlch(57.64, 52.02, 71.71°)
OKLaboklab(64.08% 0.0417 0.1098)
OKLCHoklch(64.08% 0.117 69.2)
XYZxyz(28.2670, 25.5851, 6.3548)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E31 #316DBA
analogous
#BA3A31 #BA7E31 #B1BA31
triadic
#BA7E31 #31BA7E #7E31BA
tetradic
#BA7E31 #31BA3A #316DBA #BA31B1
square
#BA7E31 #31BA3A #316DBA #BA31B1
split-complementary
#BA7E31 #31B1BA #3A31BA
monochromatic
#593C17 #8A5D24 #BA7E31 #D29C56 #DFB886

Accessibility & contrast

On white

3.43
#BA7E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA7E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E31
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E31#FFFFFF#000000##000000
##BA7E311.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#CB6F6E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e31;
/* rgb */ color: rgb(186, 126, 49);
/* oklch */ color: oklch(64.1% 0.117 69.2);
Tailwind
colors: {
  custom: {
    50: '#d4a36e',
    500: '#ba7e31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e31;
$custom-light: #d4a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e31",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 33.723,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.11746,
    "h": 69.2
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#BA7E31
secondary
#7E9FC9
accent
#8AE246
background
#FDFAF6
surface
#FBF3EC
border
#D4CDC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E31

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

Preview Lab → · Contrast checker → · Palette generator →

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