#BA6821#BA6821

#BA6821 is a mid, vivid orange. Relative luminance 0.204; OKLCH L 59.9% C 0.132 H 56.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA6821
RGBrgb(186, 104, 33)
HSLhsl(28, 70%, 43%)
HSVhsv(28, 82%, 73%)
CMYKcmyk(0%, 44.1%, 82.3%, 27.1%)
CIE-LABlab(52.34, 27.79, 51.10)
CIE-LCHlch(52.34, 58.17, 61.46°)
OKLaboklab(59.95% 0.0734 0.1096)
OKLCHoklch(59.95% 0.132 56.2)
XYZxyz(25.4769, 20.4524, 4.0446)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6821 #2173BA
analogous
#BA2127 #BA6821 #BAB421
triadic
#BA6821 #21BA68 #6821BA
tetradic
#BA6821 #27BA21 #2173BA #B421BA
square
#BA6821 #27BA21 #2173BA #B421BA
split-complementary
#BA6821 #21BAB4 #2127BA
monochromatic
#522E0F #864B18 #BA6821 #DC863C #E6A670

Accessibility & contrast

On white

4.13
#BA6821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA6821#FFFFFF#000000##000000
##BA68211.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba6821;
/* rgb */ color: rgb(186, 104, 33);
/* oklch */ color: oklch(59.9% 0.132 56.2);
Tailwind
colors: {
  custom: {
    50: '#d59463',
    500: '#ba6821',
    950: '#000000',
  },
}
SCSS
$custom: #ba6821;
$custom-light: #d59463;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6821",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 33
  },
  "hsl": {
    "h": 27.843,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.13192,
    "h": 56.2
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#BA6821
secondary
#6B9FCC
accent
#9AED3B
background
#FEF9F6
surface
#FCF1EB
border
#D5CBC6
text
#160D05
muted
#847E7A

Preview Lab

Preview with #BA6821

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

Preview Lab → · Contrast checker → · Palette generator →

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