#BA8821#BA8821

#BA8821 is a light, vivid orange. Relative luminance 0.282; OKLCH L 65.9% C 0.126 H 80.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BA8821
RGBrgb(186, 136, 33)
HSLhsl(40, 70%, 43%)
HSVhsv(40, 82%, 73%)
CMYKcmyk(0%, 26.9%, 82.3%, 27.1%)
CIE-LABlab(60.03, 10.15, 57.93)
CIE-LCHlch(60.03, 58.82, 80.06°)
OKLaboklab(65.92% 0.0217 0.1246)
OKLCHoklch(65.92% 0.126 80.1)
XYZxyz(29.3305, 28.1596, 5.3291)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8821 #2153BA
analogous
#BA3B21 #BA8821 #9FBA21
triadic
#BA8821 #21BA88 #8821BA
tetradic
#BA8821 #21BA3B #2153BA #BA219F
square
#BA8821 #21BA3B #2153BA #BA219F
split-complementary
#BA8821 #219FBA #3B21BA
monochromatic
#523C0F #866218 #BA8821 #DCA83C #E6BF70

Accessibility & contrast

On white

3.17
#BA8821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BA8821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8821
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8821#FFFFFF#000000##000000
##BA88211.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8907
Deuteranopia (green-blind)
#A79626
Tritanopia (blue-blind)
#CB7A75
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba8821;
/* rgb */ color: rgb(186, 136, 33);
/* oklch */ color: oklch(65.9% 0.126 80.1);
Tailwind
colors: {
  custom: {
    50: '#d4aa66',
    500: '#ba8821',
    950: '#000000',
  },
}
SCSS
$custom: #ba8821;
$custom-light: #d4aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8821",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 40.392,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65918,
    "c": 0.12644,
    "h": 80.1
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#BA8821
secondary
#6B8BCC
accent
#75ED3B
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #BA8821

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

Preview Lab → · Contrast checker → · Palette generator →

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