#BA8A34#BA8A34

#BA8A34 is a light, moderate orange. Relative luminance 0.289; OKLCH L 66.5% C 0.116 H 78.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BA8A34
RGBrgb(186, 138, 52)
HSLhsl(39, 56%, 47%)
HSVhsv(39, 72%, 73%)
CMYKcmyk(0%, 25.8%, 72%, 27.1%)
CIE-LABlab(60.66, 9.84, 51.15)
CIE-LCHlch(60.66, 52.08, 79.11°)
OKLaboklab(66.45% 0.0231 0.1142)
OKLCHoklch(66.45% 0.116 78.6)
XYZxyz(29.9600, 28.8663, 7.2420)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A34 #3464BA
analogous
#BA4734 #BA8A34 #A7BA34
triadic
#BA8A34 #34BA8A #8A34BA
tetradic
#BA8A34 #34BA47 #3464BA #BA34A7
square
#BA8A34 #34BA47 #3464BA #BA34A7
split-complementary
#BA8A34 #34A7BA #4734BA
monochromatic
#5A4319 #8A6727 #BA8A34 #D1A65A #DEC08A

Accessibility & contrast

On white

3.10
#BA8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BA8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A34
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A34#FFFFFF#000000##000000
##BA8A341.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B29
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#CA7C78
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8a34;
/* rgb */ color: rgb(186, 138, 52);
/* oklch */ color: oklch(66.5% 0.116 78.6);
Tailwind
colors: {
  custom: {
    50: '#d3ac70',
    500: '#ba8a34',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a34;
$custom-light: #d3ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a34",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 38.507,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.11647,
    "h": 78.6
  },
  "luminance": 0.28864
}

Semantic roles & 50–950 ramp

primary
#BA8A34
secondary
#819BC8
accent
#7EE048
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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