#BA802A#BA802A

#BA802A is a light, vivid orange. Relative luminance 0.260; OKLCH L 64.4% C 0.121 H 72.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#BA802A
RGBrgb(186, 128, 42)
HSLhsl(36, 63%, 45%)
HSVhsv(36, 77%, 73%)
CMYKcmyk(0%, 31.2%, 77.4%, 27.1%)
CIE-LABlab(58.08, 14.91, 52.81)
CIE-LCHlch(58.08, 54.88, 74.24°)
OKLaboklab(64.41% 0.0366 0.1156)
OKLCHoklch(64.41% 0.121 72.4)
XYZxyz(28.3889, 26.0471, 5.7225)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA802A #2A64BA
analogous
#BA382A #BA802A #ACBA2A
triadic
#BA802A #2ABA80 #802ABA
tetradic
#BA802A #2ABA38 #2A64BA #BA2AAC
square
#BA802A #2ABA38 #2A64BA #BA2AAC
split-complementary
#BA802A #2AACBA #382ABA
monochromatic
#563B13 #885E1F #BA802A #D69E4B #E2B97D

Accessibility & contrast

On white

3.38
#BA802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#BA802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA802A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA802A#FFFFFF#000000##000000
##BA802A1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba802a;
/* rgb */ color: rgb(186, 128, 42);
/* oklch */ color: oklch(64.4% 0.121 72.4);
Tailwind
colors: {
  custom: {
    50: '#d4a46a',
    500: '#ba802a',
    950: '#000000',
  },
}
SCSS
$custom: #ba802a;
$custom-light: #d4a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba802a",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 35.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.12124,
    "h": 72.4
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA802A

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

Preview Lab → · Contrast checker → · Palette generator →

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