#BA8D27#BA8D27

#BA8D27 is a light, vivid orange. Relative luminance 0.296; OKLCH L 67.0% C 0.125 H 83.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BA8D27
RGBrgb(186, 141, 39)
HSLhsl(42, 65%, 44%)
HSVhsv(42, 79%, 73%)
CMYKcmyk(0%, 24.2%, 79%, 27.1%)
CIE-LABlab(61.34, 7.61, 57.02)
CIE-LCHlch(61.34, 57.52, 82.40°)
OKLaboklab(66.95% 0.015 0.124)
OKLCHoklch(66.95% 0.125 83.1)
XYZxyz(30.1428, 29.6376, 6.0521)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8D27 #2754BA
analogous
#BA4427 #BA8D27 #9EBA27
triadic
#BA8D27 #27BA8D #8D27BA
tetradic
#BA8D27 #27BA44 #2754BA #BA279E
square
#BA8D27 #27BA44 #2754BA #BA279E
split-complementary
#BA8D27 #279EBA #4427BA
monochromatic
#554012 #87671C #BA8D27 #D8AB46 #E3C279

Accessibility & contrast

On white

3.03
#BA8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#BA8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8D27
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8D27#FFFFFF#000000##000000
##BA8D271.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#CA7F79
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba8d27;
/* rgb */ color: rgb(186, 141, 39);
/* oklch */ color: oklch(67.0% 0.125 83.1);
Tailwind
colors: {
  custom: {
    50: '#d4ae6a',
    500: '#ba8d27',
    950: '#000000',
  },
}
SCSS
$custom: #ba8d27;
$custom-light: #d4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8d27",
  "rgb": {
    "r": 186,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 41.633,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66953,
    "c": 0.12486,
    "h": 83.1
  },
  "luminance": 0.29635
}

Semantic roles & 50–950 ramp

primary
#BA8D27
secondary
#728DCB
accent
#73E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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