#BA6823#BA6823

#BA6823 is a mid, vivid orange. Relative luminance 0.205; OKLCH L 60.0% C 0.131 H 55.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA6823
RGBrgb(186, 104, 35)
HSLhsl(27, 68%, 43%)
HSVhsv(27, 81%, 73%)
CMYKcmyk(0%, 44.1%, 81.2%, 27.1%)
CIE-LABlab(52.36, 27.86, 50.30)
CIE-LCHlch(52.36, 57.50, 61.02°)
OKLaboklab(59.96% 0.0739 0.1084)
OKLCHoklch(59.96% 0.131 55.7)
XYZxyz(25.5057, 20.4640, 4.1965)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6823 #2375BA
analogous
#BA232A #BA6823 #BAB323
triadic
#BA6823 #23BA68 #6823BA
tetradic
#BA6823 #2ABA23 #2375BA #B323BA
square
#BA6823 #2ABA23 #2375BA #B323BA
split-complementary
#BA6823 #23BAB3 #232ABA
monochromatic
#532E10 #864B19 #BA6823 #DB863F #E5A773

Accessibility & contrast

On white

4.12
#BA6823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BA6823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6823
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6823#FFFFFF#000000##000000
##BA68231.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807218
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#CC565A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba6823;
/* rgb */ color: rgb(186, 104, 35);
/* oklch */ color: oklch(60.0% 0.131 55.7);
Tailwind
colors: {
  custom: {
    50: '#d59464',
    500: '#ba6823',
    950: '#000000',
  },
}
SCSS
$custom: #ba6823;
$custom-light: #d59464;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6823",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 27.417,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.13119,
    "h": 55.7
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#BA6823
secondary
#6DA0CC
accent
#9BEB3D
background
#FEF9F6
surface
#FCF1EB
border
#D5CBC6
text
#160D06
muted
#847E7A

Preview Lab

Preview with #BA6823

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

Preview Lab → · Contrast checker → · Palette generator →

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