#BA8B27#BA8B27

#BA8B27 is a light, vivid orange. Relative luminance 0.291; OKLCH L 66.6% C 0.124 H 81.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#BA8B27
RGBrgb(186, 139, 39)
HSLhsl(41, 65%, 44%)
HSVhsv(41, 79%, 73%)
CMYKcmyk(0%, 25.3%, 79%, 27.1%)
CIE-LABlab(60.83, 8.71, 56.55)
CIE-LCHlch(60.83, 57.21, 81.24°)
OKLaboklab(66.55% 0.0182 0.1229)
OKLCHoklch(66.55% 0.124 81.6)
XYZxyz(29.8506, 29.0531, 5.9547)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8B27 #2756BA
analogous
#BA4127 #BA8B27 #A0BA27
triadic
#BA8B27 #27BA8B #8B27BA
tetradic
#BA8B27 #27BA41 #2756BA #BA27A0
square
#BA8B27 #27BA41 #2756BA #BA27A0
split-complementary
#BA8B27 #27A0BA #4127BA
monochromatic
#553F12 #87651C #BA8B27 #D8A946 #E3C179

Accessibility & contrast

On white

3.08
#BA8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#BA8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8B27
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8B27#FFFFFF#000000##000000
##BA8B271.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#CA7D78
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba8b27;
/* rgb */ color: rgb(186, 139, 39);
/* oklch */ color: oklch(66.6% 0.124 81.6);
Tailwind
colors: {
  custom: {
    50: '#d4ac69',
    500: '#ba8b27',
    950: '#000000',
  },
}
SCSS
$custom: #ba8b27;
$custom-light: #d4ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8b27",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 40.816,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.12428,
    "h": 81.6
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#BA8B27
secondary
#728ECB
accent
#75E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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