#BA7F2A#BA7F2A

#BA7F2A is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.121 H 71.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA7F2A
RGBrgb(186, 127, 42)
HSLhsl(35, 63%, 45%)
HSVhsv(35, 77%, 73%)
CMYKcmyk(0%, 31.7%, 77.4%, 27.1%)
CIE-LABlab(57.83, 15.46, 52.58)
CIE-LCHlch(57.83, 54.80, 73.61°)
OKLaboklab(64.22% 0.0382 0.1151)
OKLCHoklch(64.22% 0.121 71.6)
XYZxyz(28.2591, 25.7875, 5.6792)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F2A #2A65BA
analogous
#BA372A #BA7F2A #ADBA2A
triadic
#BA7F2A #2ABA7F #7F2ABA
tetradic
#BA7F2A #2ABA37 #2A65BA #BA2AAD
square
#BA7F2A #2ABA37 #2A65BA #BA2AAD
split-complementary
#BA7F2A #2AADBA #372ABA
monochromatic
#563B13 #885D1F #BA7F2A #D69D4B #E2B87D

Accessibility & contrast

On white

3.41
#BA7F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA7F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F2A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F2A#FFFFFF#000000##000000
##BA7F2A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831D
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f2a;
/* rgb */ color: rgb(186, 127, 42);
/* oklch */ color: oklch(64.2% 0.121 71.6);
Tailwind
colors: {
  custom: {
    50: '#d4a46a',
    500: '#ba7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f2a;
$custom-light: #d4a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f2a",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 35.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.12127,
    "h": 71.6
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

primary
#BA7F2A
secondary
#7698CA
accent
#85E642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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