#BA8E40#BA8E40

#BA8E40 is a light, moderate orange. Relative luminance 0.302; OKLCH L 67.4% C 0.109 H 79.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BA8E40
RGBrgb(186, 142, 64)
HSLhsl(38, 49%, 49%)
HSVhsv(38, 66%, 73%)
CMYKcmyk(0%, 23.7%, 65.6%, 27.1%)
CIE-LABlab(61.79, 8.32, 46.85)
CIE-LCHlch(61.79, 47.58, 79.93°)
OKLaboklab(67.37% 0.0202 0.1071)
OKLCHoklch(67.37% 0.109 79.3)
XYZxyz(30.8499, 30.1574, 9.0456)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8E40 #406CBA
analogous
#BA5140 #BA8E40 #A9BA40
triadic
#BA8E40 #40BA8E #8E40BA
tetradic
#BA8E40 #40BA51 #406CBA #BA40A9
square
#BA8E40 #40BA51 #406CBA #BA40A9
split-complementary
#BA8E40 #40A9BA #5140BA
monochromatic
#5F4821 #8C6B30 #BA8E40 #CCA96B #DCC499

Accessibility & contrast

On white

2.99
#BA8E40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#BA8E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8E40
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8E40#FFFFFF#000000##000000
##BA8E401.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F38
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#C9817D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8e40;
/* rgb */ color: rgb(186, 142, 64);
/* oklch */ color: oklch(67.4% 0.109 79.3);
Tailwind
colors: {
  custom: {
    50: '#d2ae78',
    500: '#ba8e40',
    950: '#000000',
  },
}
SCSS
$custom: #ba8e40;
$custom-light: #d2ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8e40",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 38.361,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.10901,
    "h": 79.3
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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