#BA9542#BA9542

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

Color values

HEX#BA9542
RGBrgb(186, 149, 66)
HSLhsl(42, 48%, 49%)
HSVhsv(42, 65%, 73%)
CMYKcmyk(0%, 19.9%, 64.5%, 27.1%)
CIE-LABlab(63.61, 4.61, 47.91)
CIE-LCHlch(63.61, 48.14, 84.51°)
OKLaboklab(68.81% 0.0097 0.1097)
OKLCHoklch(68.81% 0.11 85)
XYZxyz(31.9822, 32.3293, 9.7089)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9542 #4267BA
analogous
#BA5942 #BA9542 #A3BA42
triadic
#BA9542 #42BA95 #9542BA
tetradic
#BA9542 #42BA59 #4267BA #BA42A3
square
#BA9542 #42BA59 #4267BA #BA42A3
split-complementary
#BA9542 #42A3BA #5942BA
monochromatic
#604D22 #8D7132 #BA9542 #CBAF6E #DBC89B

Accessibility & contrast

On white

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

On black

7.47
#BA9542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9542
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9542#FFFFFF#000000##000000
##BA95421.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9542;
/* rgb */ color: rgb(186, 149, 66);
/* oklch */ color: oklch(68.8% 0.110 85.0);
Tailwind
colors: {
  custom: {
    50: '#d2b37a',
    500: '#ba9542',
    950: '#000000',
  },
}
SCSS
$custom: #ba9542;
$custom-light: #d2b37a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9542",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 41.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.68806,
    "c": 0.11012,
    "h": 85
  },
  "luminance": 0.32327
}

Semantic roles & 50–950 ramp

primary
#BA9542
secondary
#90A1C8
accent
#7AD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9542

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

Preview Lab → · Contrast checker → · Palette generator →

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