#BA8A27#BA8A27

#BA8A27 is a light, vivid orange. Relative luminance 0.288; OKLCH L 66.4% C 0.124 H 80.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#BA8A27
RGBrgb(186, 138, 39)
HSLhsl(40, 65%, 44%)
HSVhsv(40, 79%, 73%)
CMYKcmyk(0%, 25.8%, 79%, 27.1%)
CIE-LABlab(60.57, 9.26, 56.31)
CIE-LCHlch(60.57, 57.07, 80.66°)
OKLaboklab(66.35% 0.0198 0.1224)
OKLCHoklch(66.35% 0.124 80.8)
XYZxyz(29.7064, 28.7649, 5.9067)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A27 #2757BA
analogous
#BA4127 #BA8A27 #A1BA27
triadic
#BA8A27 #27BA8A #8A27BA
tetradic
#BA8A27 #27BA41 #2757BA #BA27A1
square
#BA8A27 #27BA41 #2757BA #BA27A1
split-complementary
#BA8A27 #27A1BA #4127BA
monochromatic
#553F12 #87641C #BA8A27 #D8A846 #E3C079

Accessibility & contrast

On white

3.11
#BA8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#BA8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A27
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A27#FFFFFF#000000##000000
##BA8A271.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#CA7C77
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8a27;
/* rgb */ color: rgb(186, 138, 39);
/* oklch */ color: oklch(66.4% 0.124 80.8);
Tailwind
colors: {
  custom: {
    50: '#d4ab69',
    500: '#ba8a27',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a27;
$custom-light: #d4ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a27",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 40.408,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66352,
    "c": 0.12402,
    "h": 80.8
  },
  "luminance": 0.28763
}

Semantic roles & 50–950 ramp

primary
#BA8A27
secondary
#728FCB
accent
#77E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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