#BA9438#BA9438

#BA9438 is a light, moderate orange. Relative luminance 0.319; OKLCH L 68.5% C 0.117 H 86.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BA9438
RGBrgb(186, 148, 56)
HSLhsl(42, 54%, 47%)
HSVhsv(42, 70%, 73%)
CMYKcmyk(0%, 20.4%, 69.9%, 27.1%)
CIE-LABlab(63.27, 4.55, 52.08)
CIE-LCHlch(63.27, 52.28, 85.00°)
OKLaboklab(68.5% 0.0082 0.1169)
OKLCHoklch(68.5% 0.117 86)
XYZxyz(31.5552, 31.9065, 8.2372)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9438 #385EBA
analogous
#BA5338 #BA9438 #9FBA38
triadic
#BA9438 #38BA94 #9438BA
tetradic
#BA9438 #38BA53 #385EBA #BA389F
square
#BA9438 #38BA53 #385EBA #BA389F
split-complementary
#BA9438 #389FBA #5338BA
monochromatic
#5C491C #8B6F2A #BA9438 #CFAF60 #DDC68F

Accessibility & contrast

On white

2.85
#BA9438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BA9438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9438
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9438#FFFFFF#000000##000000
##BA94381.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#AF9D3C
Tritanopia (blue-blind)
#C98781
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba9438;
/* rgb */ color: rgb(186, 148, 56);
/* oklch */ color: oklch(68.5% 0.117 86.0);
Tailwind
colors: {
  custom: {
    50: '#d3b374',
    500: '#ba9438',
    950: '#000000',
  },
}
SCSS
$custom: #ba9438;
$custom-light: #d3b374;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9438",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 56
  },
  "hsl": {
    "h": 42.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.11719,
    "h": 86
  },
  "luminance": 0.31904
}

Semantic roles & 50–950 ramp

primary
#BA9438
secondary
#8699C8
accent
#75DD4B
background
#FDFAF7
surface
#FAF5ED
border
#D3CFC8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9438

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

Preview Lab → · Contrast checker → · Palette generator →

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