#BA8E2A#BA8E2A

#BA8E2A is a light, vivid orange. Relative luminance 0.300; OKLCH L 67.2% C 0.124 H 83.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#BA8E2A
RGBrgb(186, 142, 42)
HSLhsl(42, 63%, 45%)
HSVhsv(42, 77%, 73%)
CMYKcmyk(0%, 23.7%, 77.4%, 27.1%)
CIE-LABlab(61.61, 7.18, 56.16)
CIE-LCHlch(61.61, 56.62, 82.72°)
OKLaboklab(67.18% 0.0141 0.1228)
OKLCHoklch(67.18% 0.124 83.4)
XYZxyz(30.3426, 29.9545, 6.3737)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8E2A #2A56BA
analogous
#BA462A #BA8E2A #9EBA2A
triadic
#BA8E2A #2ABA8E #8E2ABA
tetradic
#BA8E2A #2ABA46 #2A56BA #BA2A9E
square
#BA8E2A #2ABA46 #2A56BA #BA2A9E
split-complementary
#BA8E2A #2A9EBA #462ABA
monochromatic
#564213 #88681F #BA8E2A #D6AC4B #E2C37D

Accessibility & contrast

On white

3.00
#BA8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#BA8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8E2A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8E2A#FFFFFF#000000##000000
##BA8E2A1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E19
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#CA807B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8e2a;
/* rgb */ color: rgb(186, 142, 42);
/* oklch */ color: oklch(67.2% 0.124 83.4);
Tailwind
colors: {
  custom: {
    50: '#d3ae6b',
    500: '#ba8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba8e2a;
$custom-light: #d3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8e2a",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 41.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67175,
    "c": 0.12359,
    "h": 83.4
  },
  "luminance": 0.29952
}

Semantic roles & 50–950 ramp

primary
#BA8E2A
secondary
#7690CA
accent
#74E642
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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