#BA7D31#BA7D31

#BA7D31 is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.9% C 0.118 H 68.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA7D31
RGBrgb(186, 125, 49)
HSLhsl(33, 58%, 46%)
HSVhsv(33, 74%, 73%)
CMYKcmyk(0%, 32.8%, 73.7%, 27.1%)
CIE-LABlab(57.40, 16.88, 49.14)
CIE-LCHlch(57.40, 51.96, 71.04°)
OKLaboklab(63.89% 0.0433 0.1093)
OKLCHoklch(63.89% 0.118 68.4)
XYZxyz(28.1398, 25.3306, 6.3124)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D31 #316EBA
analogous
#BA3931 #BA7D31 #B2BA31
triadic
#BA7D31 #31BA7D #7D31BA
tetradic
#BA7D31 #31BA39 #316EBA #BA31B2
square
#BA7D31 #31BA39 #316EBA #BA31B2
split-complementary
#BA7D31 #31B2BA #3931BA
monochromatic
#593C17 #8A5C24 #BA7D31 #D29B56 #DFB886

Accessibility & contrast

On white

3.46
#BA7D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BA7D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D31
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D31#FFFFFF#000000##000000
##BA7D311.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba7d31;
/* rgb */ color: rgb(186, 125, 49);
/* oklch */ color: oklch(63.9% 0.118 68.4);
Tailwind
colors: {
  custom: {
    50: '#d4a26d',
    500: '#ba7d31',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d31;
$custom-light: #d4a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d31",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 33.285,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.11756,
    "h": 68.4
  },
  "luminance": 0.25328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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