#BA7F33#BA7F33

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

Color values

HEX#BA7F33
RGBrgb(186, 127, 51)
HSLhsl(34, 57%, 46%)
HSVhsv(34, 73%, 73%)
CMYKcmyk(0%, 31.7%, 72.6%, 27.1%)
CIE-LABlab(57.90, 15.87, 48.76)
CIE-LCHlch(57.90, 51.28, 71.97°)
OKLaboklab(64.29% 0.0406 0.1089)
OKLCHoklch(64.29% 0.116 69.6)
XYZxyz(28.4387, 25.8593, 6.6249)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F33 #336EBA
analogous
#BA3C33 #BA7F33 #B2BA33
triadic
#BA7F33 #33BA7F #7F33BA
tetradic
#BA7F33 #33BA3C #336EBA #BA33B2
square
#BA7F33 #33BA3C #336EBA #BA33B2
split-complementary
#BA7F33 #33B2BA #3C33BA
monochromatic
#5A3D19 #8A5E26 #BA7F33 #D19D59 #DFB989

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7F33#FFFFFF#000000##000000
##BA7F331.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)
#93832A
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f33;
/* rgb */ color: rgb(186, 127, 51);
/* oklch */ color: oklch(64.3% 0.116 69.6);
Tailwind
colors: {
  custom: {
    50: '#d3a46f',
    500: '#ba7f33',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f33;
$custom-light: #d3a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f33",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 51
  },
  "hsl": {
    "h": 33.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64293,
    "c": 0.11621,
    "h": 69.6
  },
  "luminance": 0.25857
}

Semantic roles & 50–950 ramp

primary
#BA7F33
secondary
#80A0C9
accent
#8AE048
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F33

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

Preview Lab → · Contrast checker → · Palette generator →

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