#BA9842#BA9842

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

Color values

HEX#BA9842
RGBrgb(186, 152, 66)
HSLhsl(43, 48%, 49%)
HSVhsv(43, 65%, 73%)
CMYKcmyk(0%, 18.3%, 64.5%, 27.1%)
CIE-LABlab(64.40, 2.97, 48.77)
CIE-LCHlch(64.40, 48.86, 86.51°)
OKLaboklab(69.42% 0.0049 0.1115)
OKLCHoklch(69.42% 0.112 87.5)
XYZxyz(32.4630, 33.2909, 9.8691)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9842 #4264BA
analogous
#BA5C42 #BA9842 #A0BA42
triadic
#BA9842 #42BA98 #9842BA
tetradic
#BA9842 #42BA5C #4264BA #BA42A0
square
#BA9842 #42BA5C #4264BA #BA42A0
split-complementary
#BA9842 #42A0BA #5C42BA
monochromatic
#604E22 #8D7332 #BA9842 #CBB16E #DBC99B

Accessibility & contrast

On white

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

On black

7.66
#BA9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9842
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9842#FFFFFF#000000##000000
##BA98421.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9842;
/* rgb */ color: rgb(186, 152, 66);
/* oklch */ color: oklch(69.4% 0.112 87.5);
Tailwind
colors: {
  custom: {
    50: '#d2b67a',
    500: '#ba9842',
    950: '#000000',
  },
}
SCSS
$custom: #ba9842;
$custom-light: #d2b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9842",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 43,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69421,
    "c": 0.11163,
    "h": 87.5
  },
  "luminance": 0.33289
}

Semantic roles & 50–950 ramp

primary
#BA9842
secondary
#90A0C8
accent
#77D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9842

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

Preview Lab → · Contrast checker → · Palette generator →

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