#BA782A#BA782A

#BA782A is a light, vivid orange. Relative luminance 0.240; OKLCH L 62.9% C 0.122 H 66.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA782A
RGBrgb(186, 120, 42)
HSLhsl(33, 63%, 45%)
HSVhsv(33, 77%, 73%)
CMYKcmyk(0%, 35.5%, 77.4%, 27.1%)
CIE-LABlab(56.13, 19.34, 50.93)
CIE-LCHlch(56.13, 54.48, 69.21°)
OKLaboklab(62.89% 0.0496 0.1116)
OKLCHoklch(62.89% 0.122 66.1)
XYZxyz(27.3863, 24.0418, 5.3883)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA782A #2A6CBA
analogous
#BA302A #BA782A #B4BA2A
triadic
#BA782A #2ABA78 #782ABA
tetradic
#BA782A #2ABA30 #2A6CBA #BA2AB4
square
#BA782A #2ABA30 #2A6CBA #BA2AB4
split-complementary
#BA782A #2AB4BA #302ABA
monochromatic
#563813 #88581F #BA782A #D6964B #E2B37D

Accessibility & contrast

On white

3.62
#BA782A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BA782A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA782A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA782A#FFFFFF#000000##000000
##BA782A1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1F
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#CB6868
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba782a;
/* rgb */ color: rgb(186, 120, 42);
/* oklch */ color: oklch(62.9% 0.122 66.1);
Tailwind
colors: {
  custom: {
    50: '#d49f69',
    500: '#ba782a',
    950: '#000000',
  },
}
SCSS
$custom: #ba782a;
$custom-light: #d49f69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba782a",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 32.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.12209,
    "h": 66.1
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

primary
#BA782A
secondary
#769CCA
accent
#8DE642
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA782A

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

Preview Lab → · Contrast checker → · Palette generator →

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