#BA9838#BA9838

#BA9838 is a light, moderate orange. Relative luminance 0.332; OKLCH L 69.3% C 0.119 H 89.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BA9838
RGBrgb(186, 152, 56)
HSLhsl(44, 54%, 47%)
HSVhsv(44, 70%, 73%)
CMYKcmyk(0%, 18.3%, 69.9%, 27.1%)
CIE-LABlab(64.31, 2.38, 53.15)
CIE-LCHlch(64.31, 53.21, 87.44°)
OKLaboklab(69.33% 0.002 0.1192)
OKLCHoklch(69.33% 0.119 89.1)
XYZxyz(32.1935, 33.1831, 8.4499)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9838 #385ABA
analogous
#BA5738 #BA9838 #9BBA38
triadic
#BA9838 #38BA98 #9838BA
tetradic
#BA9838 #38BA57 #385ABA #BA389B
square
#BA9838 #38BA57 #385ABA #BA389B
split-complementary
#BA9838 #389BBA #5738BA
monochromatic
#5C4B1C #8B722A #BA9838 #CFB260 #DDC98F

Accessibility & contrast

On white

2.75
#BA9838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BA9838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9838
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9838#FFFFFF#000000##000000
##BA98381.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9962B
Deuteranopia (green-blind)
#B1A03D
Tritanopia (blue-blind)
#C98B84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9838;
/* rgb */ color: rgb(186, 152, 56);
/* oklch */ color: oklch(69.3% 0.119 89.1);
Tailwind
colors: {
  custom: {
    50: '#d2b674',
    500: '#ba9838',
    950: '#000000',
  },
}
SCSS
$custom: #ba9838;
$custom-light: #d2b674;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9838",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 44.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69325,
    "c": 0.1192,
    "h": 89.1
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

primary
#BA9838
secondary
#8697C8
accent
#71DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9838

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

Preview Lab → · Contrast checker → · Palette generator →

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