#BA7E33#BA7E33

#BA7E33 is a light, moderate orange. Relative luminance 0.256; OKLCH L 64.1% C 0.116 H 68.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA7E33
RGBrgb(186, 126, 51)
HSLhsl(33, 57%, 46%)
HSVhsv(33, 73%, 73%)
CMYKcmyk(0%, 32.3%, 72.6%, 27.1%)
CIE-LABlab(57.66, 16.43, 48.50)
CIE-LCHlch(57.66, 51.21, 71.29°)
OKLaboklab(64.1% 0.0422 0.1084)
OKLCHoklch(64.1% 0.116 68.7)
XYZxyz(28.3102, 25.6023, 6.5821)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E33 #336FBA
analogous
#BA3A33 #BA7E33 #B3BA33
triadic
#BA7E33 #33BA7E #7E33BA
tetradic
#BA7E33 #33BA3A #336FBA #BA33B3
square
#BA7E33 #33BA3A #336FBA #BA33B3
split-complementary
#BA7E33 #33B3BA #3A33BA
monochromatic
#5A3D19 #8A5D26 #BA7E33 #D19C59 #DFB889

Accessibility & contrast

On white

3.43
#BA7E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA7E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E33
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E33#FFFFFF#000000##000000
##BA7E331.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e33;
/* rgb */ color: rgb(186, 126, 51);
/* oklch */ color: oklch(64.1% 0.116 68.7);
Tailwind
colors: {
  custom: {
    50: '#d4a36f',
    500: '#ba7e33',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e33;
$custom-light: #d4a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e33",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 33.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.11629,
    "h": 68.7
  },
  "luminance": 0.256
}

Semantic roles & 50–950 ramp

primary
#BA7E33
secondary
#80A0C9
accent
#8BE048
background
#FDFAF6
surface
#FBF3EC
border
#D4CDC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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