#BA7F34#BA7F34

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

Color values

HEX#BA7F34
RGBrgb(186, 127, 52)
HSLhsl(34, 56%, 47%)
HSVhsv(34, 72%, 73%)
CMYKcmyk(0%, 31.7%, 72%, 27.1%)
CIE-LABlab(57.91, 15.92, 48.31)
CIE-LCHlch(57.91, 50.87, 71.76°)
OKLaboklab(64.3% 0.0409 0.1081)
OKLCHoklch(64.3% 0.116 69.3)
XYZxyz(28.4610, 25.8683, 6.7423)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F34 #346FBA
analogous
#BA3C34 #BA7F34 #B2BA34
triadic
#BA7F34 #34BA7F #7F34BA
tetradic
#BA7F34 #34BA3C #346FBA #BA34B2
square
#BA7F34 #34BA3C #346FBA #BA34B2
split-complementary
#BA7F34 #34B2BA #3C34BA
monochromatic
#5A3E19 #8A5E27 #BA7F34 #D19D5A #DEB98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7F34#FFFFFF#000000##000000
##BA7F341.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)
#93832B
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f34;
/* rgb */ color: rgb(186, 127, 52);
/* oklch */ color: oklch(64.3% 0.116 69.3);
Tailwind
colors: {
  custom: {
    50: '#d3a46f',
    500: '#ba7f34',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f34;
$custom-light: #d3a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f34",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 33.582,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.11561,
    "h": 69.3
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#BA7F34
secondary
#81A1C8
accent
#8BE048
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F08
muted
#837F7B

Preview Lab

Preview with #BA7F34

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

Preview Lab → · Contrast checker → · Palette generator →

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