#BA7E2A#BA7E2A

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

Color values

HEX#BA7E2A
RGBrgb(186, 126, 42)
HSLhsl(35, 63%, 45%)
HSVhsv(35, 77%, 73%)
CMYKcmyk(0%, 32.3%, 77.4%, 27.1%)
CIE-LABlab(57.59, 16.02, 52.34)
CIE-LCHlch(57.59, 54.73, 72.99°)
OKLaboklab(64.03% 0.0398 0.1146)
OKLCHoklch(64.03% 0.121 70.8)
XYZxyz(28.1306, 25.5305, 5.6364)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E2A #2A66BA
analogous
#BA362A #BA7E2A #AEBA2A
triadic
#BA7E2A #2ABA7E #7E2ABA
tetradic
#BA7E2A #2ABA36 #2A66BA #BA2AAE
square
#BA7E2A #2ABA36 #2A66BA #BA2AAE
split-complementary
#BA7E2A #2AAEBA #362ABA
monochromatic
#563A13 #885C1F #BA7E2A #D69C4B #E2B87D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7E2A#FFFFFF#000000##000000
##BA7E2A1.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)
#93821D
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#CB6F6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e2a;
/* rgb */ color: rgb(186, 126, 42);
/* oklch */ color: oklch(64.0% 0.121 70.8);
Tailwind
colors: {
  custom: {
    50: '#d4a36a',
    500: '#ba7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e2a;
$custom-light: #d4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e2a",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 35,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64026,
    "c": 0.12131,
    "h": 70.8
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#BA7E2A
secondary
#7699CA
accent
#86E642
background
#FDFAF6
surface
#FBF3EB
border
#D4CDC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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