#BA8D40#BA8D40

#BA8D40 is a light, moderate orange. Relative luminance 0.299; OKLCH L 67.2% C 0.109 H 78.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BA8D40
RGBrgb(186, 141, 64)
HSLhsl(38, 49%, 49%)
HSVhsv(38, 66%, 73%)
CMYKcmyk(0%, 24.2%, 65.6%, 27.1%)
CIE-LABlab(61.53, 8.87, 46.57)
CIE-LCHlch(61.53, 47.41, 79.22°)
OKLaboklab(67.17% 0.0218 0.1065)
OKLCHoklch(67.17% 0.109 78.4)
XYZxyz(30.7018, 29.8612, 8.9962)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8D40 #406DBA
analogous
#BA5040 #BA8D40 #AABA40
triadic
#BA8D40 #40BA8D #8D40BA
tetradic
#BA8D40 #40BA50 #406DBA #BA40AA
square
#BA8D40 #40BA50 #406DBA #BA40AA
split-complementary
#BA8D40 #40AABA #5040BA
monochromatic
#5F4821 #8C6A30 #BA8D40 #CCA86B #DCC399

Accessibility & contrast

On white

3.01
#BA8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BA8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8D40
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8D40#FFFFFF#000000##000000
##BA8D401.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E38
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#C9807C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8d40;
/* rgb */ color: rgb(186, 141, 64);
/* oklch */ color: oklch(67.2% 0.109 78.4);
Tailwind
colors: {
  custom: {
    50: '#d2ae78',
    500: '#ba8d40',
    950: '#000000',
  },
}
SCSS
$custom: #ba8d40;
$custom-light: #d2ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8d40",
  "rgb": {
    "r": 186,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 37.869,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.10874,
    "h": 78.4
  },
  "luminance": 0.29859
}

Semantic roles & 50–950 ramp

primary
#BA8D40
secondary
#8EA3C8
accent
#82D84F
background
#FDFAF7
surface
#FAF4ED
border
#D3CEC8
text
#151009
muted
#837F7B

Preview Lab

Preview with #BA8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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