#BA6A23#BA6A23

#BA6A23 is a mid, vivid orange. Relative luminance 0.209; OKLCH L 60.3% C 0.130 H 57.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA6A23
RGBrgb(186, 106, 35)
HSLhsl(28, 68%, 43%)
HSVhsv(28, 81%, 73%)
CMYKcmyk(0%, 43%, 81.2%, 27.1%)
CIE-LABlab(52.81, 26.77, 50.72)
CIE-LCHlch(52.81, 57.35, 62.17°)
OKLaboklab(60.31% 0.0706 0.1093)
OKLCHoklch(60.31% 0.13 57.1)
XYZxyz(25.7094, 20.8714, 4.2644)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6A23 #2373BA
analogous
#BA2327 #BA6A23 #BAB523
triadic
#BA6A23 #23BA6A #6A23BA
tetradic
#BA6A23 #27BA23 #2373BA #B523BA
square
#BA6A23 #27BA23 #2373BA #B523BA
split-complementary
#BA6A23 #23BAB5 #2327BA
monochromatic
#532F10 #864D19 #BA6A23 #DB883F #E5A873

Accessibility & contrast

On white

4.06
#BA6A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BA6A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6A23
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6A23#FFFFFF#000000##000000
##BA6A231.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#CC585C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba6a23;
/* rgb */ color: rgb(186, 106, 35);
/* oklch */ color: oklch(60.3% 0.130 57.1);
Tailwind
colors: {
  custom: {
    50: '#d59564',
    500: '#ba6a23',
    950: '#000000',
  },
}
SCSS
$custom: #ba6a23;
$custom-light: #d59564;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6a23",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 28.212,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.13015,
    "h": 57.1
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#BA6A23
secondary
#6D9FCC
accent
#99EB3D
background
#FEF9F6
surface
#FCF1EB
border
#D5CBC6
text
#160D06
muted
#847E7A

Preview Lab

Preview with #BA6A23

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

Preview Lab → · Contrast checker → · Palette generator →

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