#BA8F40#BA8F40

#BA8F40 is a light, moderate orange. Relative luminance 0.305; OKLCH L 67.6% C 0.109 H 80.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#BA8F40
RGBrgb(186, 143, 64)
HSLhsl(39, 49%, 49%)
HSVhsv(39, 66%, 73%)
CMYKcmyk(0%, 23.1%, 65.6%, 27.1%)
CIE-LABlab(62.05, 7.77, 47.13)
CIE-LCHlch(62.05, 47.77, 80.64°)
OKLaboklab(67.57% 0.0186 0.1077)
OKLCHoklch(67.57% 0.109 80.2)
XYZxyz(30.9994, 30.4563, 9.0954)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F40 #406BBA
analogous
#BA5240 #BA8F40 #A8BA40
triadic
#BA8F40 #40BA8F #8F40BA
tetradic
#BA8F40 #40BA52 #406BBA #BA40A8
square
#BA8F40 #40BA52 #406BBA #BA40A8
split-complementary
#BA8F40 #40A8BA #5240BA
monochromatic
#5F4921 #8C6C30 #BA8F40 #CCAA6B #DCC499

Accessibility & contrast

On white

2.96
#BA8F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#BA8F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F40
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F40#FFFFFF#000000##000000
##BA8F401.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09037
Deuteranopia (green-blind)
#AB9A43
Tritanopia (blue-blind)
#C9827E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba8f40;
/* rgb */ color: rgb(186, 143, 64);
/* oklch */ color: oklch(67.6% 0.109 80.2);
Tailwind
colors: {
  custom: {
    50: '#d2af78',
    500: '#ba8f40',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f40;
$custom-light: #d2af78;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f40",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 38.852,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.10932,
    "h": 80.2
  },
  "luminance": 0.30454
}

Semantic roles & 50–950 ramp

primary
#BA8F40
secondary
#8EA2C8
accent
#80D84F
background
#FDFAF7
surface
#FAF4ED
border
#D3CEC8
text
#151009
muted
#837F7B

Preview Lab

Preview with #BA8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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