#BA7F32#BA7F32

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

Color values

HEX#BA7F32
RGBrgb(186, 127, 50)
HSLhsl(34, 58%, 46%)
HSVhsv(34, 73%, 73%)
CMYKcmyk(0%, 31.7%, 73.1%, 27.1%)
CIE-LABlab(57.90, 15.82, 49.20)
CIE-LCHlch(57.90, 51.68, 72.17°)
OKLaboklab(64.28% 0.0403 0.1096)
OKLCHoklch(64.28% 0.117 69.8)
XYZxyz(28.4169, 25.8506, 6.5100)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F32 #326DBA
analogous
#BA3B32 #BA7F32 #B1BA32
triadic
#BA7F32 #32BA7F #7F32BA
tetradic
#BA7F32 #32BA3B #326DBA #BA32B1
square
#BA7F32 #32BA3B #326DBA #BA32B1
split-complementary
#BA7F32 #32B1BA #3B32BA
monochromatic
#5A3D18 #8A5E25 #BA7F32 #D29D57 #DFB988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7F32#FFFFFF#000000##000000
##BA7F321.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)
#938328
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f32;
/* rgb */ color: rgb(186, 127, 50);
/* oklch */ color: oklch(64.3% 0.117 69.8);
Tailwind
colors: {
  custom: {
    50: '#d4a46e',
    500: '#ba7f32',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f32;
$custom-light: #d4a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f32",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 33.971,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.1168,
    "h": 69.8
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#BA7F32
secondary
#7F9FC9
accent
#8AE147
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F32

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

Preview Lab → · Contrast checker → · Palette generator →

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