#BA9D3F#BA9D3F

#BA9D3F is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.117 H 91.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BA9D3F
RGBrgb(186, 157, 63)
HSLhsl(46, 49%, 49%)
HSVhsv(46, 66%, 73%)
CMYKcmyk(0%, 15.6%, 66.1%, 27.1%)
CIE-LABlab(65.68, 0.07, 51.53)
CIE-LCHlch(65.68, 51.53, 89.92°)
OKLaboklab(70.43% -0.0038 0.1169)
OKLCHoklch(70.43% 0.117 91.9)
XYZxyz(33.2055, 34.9138, 9.6917)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D3F #3F5CBA
analogous
#BA603F #BA9D3F #9ABA3F
triadic
#BA9D3F #3FBA9D #9D3FBA
tetradic
#BA9D3F #3FBA60 #3F5CBA #BA3F9A
square
#BA9D3F #3FBA60 #3F5CBA #BA3F9A
split-complementary
#BA9D3F #3F9ABA #603FBA
monochromatic
#5F5020 #8C7630 #BA9D3F #CCB56A #DCCC97

Accessibility & contrast

On white

2.63
#BA9D3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BA9D3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D3F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D3F#FFFFFF#000000##000000
##BA9D3F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B34
Deuteranopia (green-blind)
#B4A343
Tritanopia (blue-blind)
#C99189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9d3f;
/* rgb */ color: rgb(186, 157, 63);
/* oklch */ color: oklch(70.4% 0.117 91.9);
Tailwind
colors: {
  custom: {
    50: '#d2b978',
    500: '#ba9d3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d3f;
$custom-light: #d2b978;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d3f",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 63
  },
  "hsl": {
    "h": 45.854,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.11699,
    "h": 91.9
  },
  "luminance": 0.34912
}

Semantic roles & 50–950 ramp

primary
#BA9D3F
secondary
#8D9BC8
accent
#6FD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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