#BA9D41#BA9D41

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

Color values

HEX#BA9D41
RGBrgb(186, 157, 65)
HSLhsl(46, 48%, 49%)
HSVhsv(46, 65%, 73%)
CMYKcmyk(0%, 15.6%, 65.1%, 27.1%)
CIE-LABlab(65.70, 0.20, 50.65)
CIE-LCHlch(65.70, 50.65, 89.78°)
OKLaboklab(70.45% -0.0032 0.1154)
OKLCHoklch(70.45% 0.115 91.6)
XYZxyz(33.2624, 34.9365, 9.9914)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D41 #415EBA
analogous
#BA6141 #BA9D41 #9BBA41
triadic
#BA9D41 #41BA9D #9D41BA
tetradic
#BA9D41 #41BA61 #415EBA #BA419B
square
#BA9D41 #41BA61 #415EBA #BA419B
split-complementary
#BA9D41 #419BBA #6141BA
monochromatic
#5F5021 #8D7731 #BA9D41 #CCB56C #DCCC9A

Accessibility & contrast

On white

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

On black

7.99
#BA9D41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D41
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D41#FFFFFF#000000##000000
##BA9D411.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9d41;
/* rgb */ color: rgb(186, 157, 65);
/* oklch */ color: oklch(70.4% 0.115 91.6);
Tailwind
colors: {
  custom: {
    50: '#d2b97a',
    500: '#ba9d41',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d41;
$custom-light: #d2b97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d41",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 65
  },
  "hsl": {
    "h": 45.62,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.11541,
    "h": 91.6
  },
  "luminance": 0.34935
}

Semantic roles & 50–950 ramp

primary
#BA9D41
secondary
#8F9DC8
accent
#71D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #BA9D41

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

Preview Lab → · Contrast checker → · Palette generator →

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