#BA6B23#BA6B23

#BA6B23 is a mid, vivid orange. Relative luminance 0.211; OKLCH L 60.5% C 0.130 H 57.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA6B23
RGBrgb(186, 107, 35)
HSLhsl(29, 68%, 43%)
HSVhsv(29, 81%, 73%)
CMYKcmyk(0%, 42.5%, 81.2%, 27.1%)
CIE-LABlab(53.04, 26.23, 50.92)
CIE-LCHlch(53.04, 57.28, 62.75°)
OKLaboklab(60.48% 0.069 0.1098)
OKLCHoklch(60.48% 0.13 57.8)
XYZxyz(25.8131, 21.0787, 4.2990)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6B23 #2372BA
analogous
#BA2327 #BA6B23 #BAB623
triadic
#BA6B23 #23BA6B #6B23BA
tetradic
#BA6B23 #27BA23 #2372BA #B623BA
square
#BA6B23 #27BA23 #2372BA #B623BA
split-complementary
#BA6B23 #23BAB6 #2327BA
monochromatic
#533010 #864D19 #BA6B23 #DB893F #E5A973

Accessibility & contrast

On white

4.03
#BA6B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA6B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6B23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6B23#FFFFFF#000000##000000
##BA6B231.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837417
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#CC595D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba6b23;
/* rgb */ color: rgb(186, 107, 35);
/* oklch */ color: oklch(60.5% 0.130 57.8);
Tailwind
colors: {
  custom: {
    50: '#d59664',
    500: '#ba6b23',
    950: '#000000',
  },
}
SCSS
$custom: #ba6b23;
$custom-light: #d59664;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6b23",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 28.609,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.12967,
    "h": 57.8
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#BA6B23
secondary
#6D9FCC
accent
#98EB3D
background
#FEF9F6
surface
#FCF2EB
border
#D5CCC6
text
#160D06
muted
#847E7A

Preview Lab

Preview with #BA6B23

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

Preview Lab → · Contrast checker → · Palette generator →

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