#BA7E2B#BA7E2B

#BA7E2B is a light, vivid orange. Relative luminance 0.255; OKLCH L 64.0% C 0.121 H 70.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA7E2B
RGBrgb(186, 126, 43)
HSLhsl(35, 62%, 45%)
HSVhsv(35, 77%, 73%)
CMYKcmyk(0%, 32.3%, 76.9%, 27.1%)
CIE-LABlab(57.60, 16.06, 51.93)
CIE-LCHlch(57.60, 54.36, 72.82°)
OKLaboklab(64.03% 0.0401 0.114)
OKLCHoklch(64.03% 0.121 70.6)
XYZxyz(28.1487, 25.5378, 5.7318)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E2B #2B67BA
analogous
#BA372B #BA7E2B #AFBA2B
triadic
#BA7E2B #2BBA7E #7E2BBA
tetradic
#BA7E2B #2BBA37 #2B67BA #BA2BAF
square
#BA7E2B #2BBA37 #2B67BA #BA2BAF
split-complementary
#BA7E2B #2BAFBA #372BBA
monochromatic
#573B14 #885C20 #BA7E2B #D69C4C #E1B87E

Accessibility & contrast

On white

3.44
#BA7E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA7E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E2B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E2B#FFFFFF#000000##000000
##BA7E2B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821F
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#CB6F6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e2b;
/* rgb */ color: rgb(186, 126, 43);
/* oklch */ color: oklch(64.0% 0.121 70.6);
Tailwind
colors: {
  custom: {
    50: '#d4a36a',
    500: '#ba7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e2b;
$custom-light: #d4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e2b",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 34.825,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.12078,
    "h": 70.6
  },
  "luminance": 0.25535
}

Semantic roles & 50–950 ramp

primary
#BA7E2B
secondary
#779ACA
accent
#87E642
background
#FDFAF6
surface
#FBF3EB
border
#D4CDC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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