#BA9731#BA9731

#BA9731 is a light, vivid orange. Relative luminance 0.328; OKLCH L 69.1% C 0.123 H 89.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#BA9731
RGBrgb(186, 151, 49)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 74%, 73%)
CMYKcmyk(0%, 18.8%, 73.7%, 27.1%)
CIE-LABlab(64.00, 2.56, 55.73)
CIE-LCHlch(64.00, 55.79, 87.37°)
OKLaboklab(69.06% 0.0017 0.1233)
OKLCHoklch(69.06% 0.123 89.2)
XYZxyz(31.8725, 32.7961, 7.5567)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9731 #3154BA
analogous
#BA5331 #BA9731 #98BA31
triadic
#BA9731 #31BA97 #9731BA
tetradic
#BA9731 #31BA53 #3154BA #BA3198
square
#BA9731 #31BA53 #3154BA #BA3198
split-complementary
#BA9731 #3198BA #5331BA
monochromatic
#594817 #8A7024 #BA9731 #D2B356 #DFC886

Accessibility & contrast

On white

2.78
#BA9731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#BA9731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9731
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9731#FFFFFF#000000##000000
##BA97311.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99521
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C98A83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba9731;
/* rgb */ color: rgb(186, 151, 49);
/* oklch */ color: oklch(69.1% 0.123 89.2);
Tailwind
colors: {
  custom: {
    50: '#d3b570',
    500: '#ba9731',
    950: '#000000',
  },
}
SCSS
$custom: #ba9731;
$custom-light: #d3b570;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9731",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 44.672,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69061,
    "c": 0.12333,
    "h": 89.2
  },
  "luminance": 0.32794
}

Semantic roles & 50–950 ramp

primary
#BA9731
secondary
#7E91C9
accent
#6EE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9731

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

Preview Lab → · Contrast checker → · Palette generator →

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