#BA9C3F#BA9C3F

#BA9C3F is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.116 H 91.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BA9C3F
RGBrgb(186, 156, 63)
HSLhsl(45, 49%, 49%)
HSVhsv(45, 66%, 73%)
CMYKcmyk(0%, 16.1%, 66.1%, 27.1%)
CIE-LABlab(65.42, 0.61, 51.25)
CIE-LCHlch(65.42, 51.25, 89.31°)
OKLaboklab(70.22% -0.0023 0.1163)
OKLCHoklch(70.22% 0.116 91.1)
XYZxyz(33.0370, 34.5768, 9.6355)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C3F #3F5DBA
analogous
#BA5F3F #BA9C3F #9BBA3F
triadic
#BA9C3F #3FBA9C #9C3FBA
tetradic
#BA9C3F #3FBA5F #3F5DBA #BA3F9B
square
#BA9C3F #3FBA5F #3F5DBA #BA3F9B
split-complementary
#BA9C3F #3F9BBA #5F3FBA
monochromatic
#5F4F20 #8C7630 #BA9C3F #CCB46A #DCCB97

Accessibility & contrast

On white

2.65
#BA9C3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#BA9C3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9C3F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9C3F#FFFFFF#000000##000000
##BA9C3F1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A34
Deuteranopia (green-blind)
#B4A243
Tritanopia (blue-blind)
#C99088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9c3f;
/* rgb */ color: rgb(186, 156, 63);
/* oklch */ color: oklch(70.2% 0.116 91.1);
Tailwind
colors: {
  custom: {
    50: '#d2b878',
    500: '#ba9c3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c3f;
$custom-light: #d2b878;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c3f",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 63
  },
  "hsl": {
    "h": 45.366,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.11635,
    "h": 91.1
  },
  "luminance": 0.34575
}

Semantic roles & 50–950 ramp

primary
#BA9C3F
secondary
#8D9BC8
accent
#71D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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