#BA9540#BA9540

#BA9540 is a light, moderate orange. Relative luminance 0.323; OKLCH L 68.8% C 0.112 H 85.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#BA9540
RGBrgb(186, 149, 64)
HSLhsl(42, 49%, 49%)
HSVhsv(42, 66%, 73%)
CMYKcmyk(0%, 19.9%, 65.6%, 27.1%)
CIE-LABlab(63.60, 4.48, 48.83)
CIE-LCHlch(63.60, 49.03, 84.76°)
OKLaboklab(68.79% 0.0091 0.1113)
OKLCHoklch(68.79% 0.112 85.4)
XYZxyz(31.9243, 32.3062, 9.4037)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9540 #4065BA
analogous
#BA5840 #BA9540 #A2BA40
triadic
#BA9540 #40BA95 #9540BA
tetradic
#BA9540 #40BA58 #4065BA #BA40A2
square
#BA9540 #40BA58 #4065BA #BA40A2
split-complementary
#BA9540 #40A2BA #5840BA
monochromatic
#5F4C21 #8C7130 #BA9540 #CCAF6B #DCC799

Accessibility & contrast

On white

2.81
#BA9540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#BA9540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9540
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9540#FFFFFF#000000##000000
##BA95401.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69437
Deuteranopia (green-blind)
#AF9E43
Tritanopia (blue-blind)
#C98983
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba9540;
/* rgb */ color: rgb(186, 149, 64);
/* oklch */ color: oklch(68.8% 0.112 85.4);
Tailwind
colors: {
  custom: {
    50: '#d2b378',
    500: '#ba9540',
    950: '#000000',
  },
}
SCSS
$custom: #ba9540;
$custom-light: #d2b378;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9540",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 41.803,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.11171,
    "h": 85.4
  },
  "luminance": 0.32304
}

Semantic roles & 50–950 ramp

primary
#BA9540
secondary
#8EA0C8
accent
#79D84F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9540

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

Preview Lab → · Contrast checker → · Palette generator →

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