#BA9840#BA9840

#BA9840 is a light, moderate orange. Relative luminance 0.333; OKLCH L 69.4% C 0.113 H 87.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BA9840
RGBrgb(186, 152, 64)
HSLhsl(43, 49%, 49%)
HSVhsv(43, 66%, 73%)
CMYKcmyk(0%, 18.3%, 65.6%, 27.1%)
CIE-LABlab(64.38, 2.84, 49.68)
CIE-LCHlch(64.38, 49.76, 86.72°)
OKLaboklab(69.4% 0.0043 0.1131)
OKLCHoklch(69.4% 0.113 87.8)
XYZxyz(32.4050, 33.2677, 9.5640)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9840 #4062BA
analogous
#BA5B40 #BA9840 #9FBA40
triadic
#BA9840 #40BA98 #9840BA
tetradic
#BA9840 #40BA5B #4062BA #BA409F
square
#BA9840 #40BA5B #4062BA #BA409F
split-complementary
#BA9840 #409FBA #5B40BA
monochromatic
#5F4E21 #8C7330 #BA9840 #CCB16B #DCC999

Accessibility & contrast

On white

2.74
#BA9840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#BA9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9840
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9840#FFFFFF#000000##000000
##BA98401.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99736
Deuteranopia (green-blind)
#B1A044
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9840;
/* rgb */ color: rgb(186, 152, 64);
/* oklch */ color: oklch(69.4% 0.113 87.8);
Tailwind
colors: {
  custom: {
    50: '#d2b679',
    500: '#ba9840',
    950: '#000000',
  },
}
SCSS
$custom: #ba9840;
$custom-light: #d2b679;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9840",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 43.279,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.694,
    "c": 0.11322,
    "h": 87.8
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

primary
#BA9840
secondary
#8E9EC8
accent
#76D84F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9840

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

Preview Lab → · Contrast checker → · Palette generator →

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