#BA8F2A#BA8F2A

#BA8F2A is a light, vivid orange. Relative luminance 0.303; OKLCH L 67.4% C 0.124 H 84.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA8F2A
RGBrgb(186, 143, 42)
HSLhsl(42, 63%, 45%)
HSVhsv(42, 77%, 73%)
CMYKcmyk(0%, 23.1%, 77.4%, 27.1%)
CIE-LABlab(61.87, 6.63, 56.41)
CIE-LCHlch(61.87, 56.79, 83.30°)
OKLaboklab(67.38% 0.0125 0.1233)
OKLCHoklch(67.38% 0.124 84.2)
XYZxyz(30.4920, 30.2534, 6.4235)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F2A #2A55BA
analogous
#BA472A #BA8F2A #9DBA2A
triadic
#BA8F2A #2ABA8F #8F2ABA
tetradic
#BA8F2A #2ABA47 #2A55BA #BA2A9D
square
#BA8F2A #2ABA47 #2A55BA #BA2A9D
split-complementary
#BA8F2A #2A9DBA #472ABA
monochromatic
#564213 #88691F #BA8F2A #D6AD4B #E2C37D

Accessibility & contrast

On white

2.98
#BA8F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BA8F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F2A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F2A#FFFFFF#000000##000000
##BA8F2A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F18
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8f2a;
/* rgb */ color: rgb(186, 143, 42);
/* oklch */ color: oklch(67.4% 0.124 84.2);
Tailwind
colors: {
  custom: {
    50: '#d3af6b',
    500: '#ba8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f2a;
$custom-light: #d3af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f2a",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 42.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67377,
    "c": 0.12394,
    "h": 84.2
  },
  "luminance": 0.30251
}

Semantic roles & 50–950 ramp

primary
#BA8F2A
secondary
#768FCA
accent
#73E642
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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