#BA8E31#BA8E31

#BA8E31 is a light, moderate orange. Relative luminance 0.300; OKLCH L 67.2% C 0.119 H 82.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BA8E31
RGBrgb(186, 142, 49)
HSLhsl(41, 58%, 46%)
HSVhsv(41, 74%, 73%)
CMYKcmyk(0%, 23.7%, 73.7%, 27.1%)
CIE-LABlab(61.66, 7.48, 53.43)
CIE-LCHlch(61.66, 53.95, 82.03°)
OKLaboklab(67.23% 0.0158 0.1184)
OKLCHoklch(67.23% 0.119 82.4)
XYZxyz(30.4790, 30.0091, 7.0922)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8E31 #315DBA
analogous
#BA4931 #BA8E31 #A1BA31
triadic
#BA8E31 #31BA8E #8E31BA
tetradic
#BA8E31 #31BA49 #315DBA #BA31A1
square
#BA8E31 #31BA49 #315DBA #BA31A1
split-complementary
#BA8E31 #31A1BA #4931BA
monochromatic
#594417 #8A6924 #BA8E31 #D2AA56 #DFC386

Accessibility & contrast

On white

3.00
#BA8E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BA8E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8E31
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8E31#FFFFFF#000000##000000
##BA8E311.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8e31;
/* rgb */ color: rgb(186, 142, 49);
/* oklch */ color: oklch(67.2% 0.119 82.4);
Tailwind
colors: {
  custom: {
    50: '#d3ae6f',
    500: '#ba8e31',
    950: '#000000',
  },
}
SCSS
$custom: #ba8e31;
$custom-light: #d3ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8e31",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 40.73,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.11948,
    "h": 82.4
  },
  "luminance": 0.30007
}

Semantic roles & 50–950 ramp

primary
#BA8E31
secondary
#7E96C9
accent
#78E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8E31

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

Preview Lab → · Contrast checker → · Palette generator →

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