#BA8F27#BA8F27

#BA8F27 is a light, vivid orange. Relative luminance 0.302; OKLCH L 67.4% C 0.126 H 84.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA8F27
RGBrgb(186, 143, 39)
HSLhsl(42, 65%, 44%)
HSVhsv(42, 79%, 73%)
CMYKcmyk(0%, 23.1%, 79%, 27.1%)
CIE-LABlab(61.85, 6.51, 57.49)
CIE-LCHlch(61.85, 57.86, 83.54°)
OKLaboklab(67.36% 0.0119 0.125)
OKLCHoklch(67.36% 0.126 84.6)
XYZxyz(30.4404, 30.2327, 6.1513)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F27 #2752BA
analogous
#BA4627 #BA8F27 #9CBA27
triadic
#BA8F27 #27BA8F #8F27BA
tetradic
#BA8F27 #27BA46 #2752BA #BA279C
square
#BA8F27 #27BA46 #2752BA #BA279C
split-complementary
#BA8F27 #279CBA #4627BA
monochromatic
#554112 #87681C #BA8F27 #D8AD46 #E3C479

Accessibility & contrast

On white

2.98
#BA8F27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BA8F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F27
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F27#FFFFFF#000000##000000
##BA8F271.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8f27;
/* rgb */ color: rgb(186, 143, 39);
/* oklch */ color: oklch(67.4% 0.126 84.6);
Tailwind
colors: {
  custom: {
    50: '#d3af6a',
    500: '#ba8f27',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f27;
$custom-light: #d3af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f27",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 42.449,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.12553,
    "h": 84.6
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#BA8F27
secondary
#728CCB
accent
#71E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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