#BA7F31#BA7F31

#BA7F31 is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.3% C 0.117 H 70.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA7F31
RGBrgb(186, 127, 49)
HSLhsl(34, 58%, 46%)
HSVhsv(34, 74%, 73%)
CMYKcmyk(0%, 31.7%, 73.7%, 27.1%)
CIE-LABlab(57.89, 15.77, 49.64)
CIE-LCHlch(57.89, 52.08, 72.37°)
OKLaboklab(64.28% 0.04 0.1104)
OKLCHoklch(64.28% 0.117 70.1)
XYZxyz(28.3955, 25.8421, 6.3977)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F31 #316CBA
analogous
#BA3B31 #BA7F31 #B0BA31
triadic
#BA7F31 #31BA7F #7F31BA
tetradic
#BA7F31 #31BA3B #316CBA #BA31B0
square
#BA7F31 #31BA3B #316CBA #BA31B0
split-complementary
#BA7F31 #31B0BA #3B31BA
monochromatic
#593D17 #8A5E24 #BA7F31 #D29D56 #DFB986

Accessibility & contrast

On white

3.40
#BA7F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA7F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F31
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F31#FFFFFF#000000##000000
##BA7F311.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f31;
/* rgb */ color: rgb(186, 127, 49);
/* oklch */ color: oklch(64.3% 0.117 70.1);
Tailwind
colors: {
  custom: {
    50: '#d4a46e',
    500: '#ba7f31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f31;
$custom-light: #d4a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f31",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 34.161,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64275,
    "c": 0.11739,
    "h": 70.1
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#BA7F31
secondary
#7E9EC9
accent
#89E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F31

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

Preview Lab → · Contrast checker → · Palette generator →

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