#BA9D43#BA9D43

#BA9D43 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.114 H 91.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BA9D43
RGBrgb(186, 157, 67)
HSLhsl(45, 47%, 50%)
HSVhsv(45, 64%, 73%)
CMYKcmyk(0%, 15.6%, 64%, 27.1%)
CIE-LABlab(65.72, 0.33, 49.76)
CIE-LCHlch(65.72, 49.76, 89.62°)
OKLaboklab(70.47% -0.0026 0.1138)
OKLCHoklch(70.47% 0.114 91.3)
XYZxyz(33.3214, 34.9601, 10.3020)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D43 #4360BA
analogous
#BA6143 #BA9D43 #9CBA43
triadic
#BA9D43 #43BA9D #9D43BA
tetradic
#BA9D43 #43BA61 #4360BA #BA439C
square
#BA9D43 #43BA61 #4360BA #BA439C
split-complementary
#BA9D43 #439CBA #6143BA
monochromatic
#605123 #8D7733 #BA9D43 #CBB56F #DBCC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9D43#FFFFFF#000000##000000
##BA9D431.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)
#AD9B39
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#C8918A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9d43;
/* rgb */ color: rgb(186, 157, 67);
/* oklch */ color: oklch(70.5% 0.114 91.3);
Tailwind
colors: {
  custom: {
    50: '#d2b97b',
    500: '#ba9d43',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d43;
$custom-light: #d2b97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d43",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 67
  },
  "hsl": {
    "h": 45.378,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70466,
    "c": 0.1138,
    "h": 91.3
  },
  "luminance": 0.34958
}

Semantic roles & 50–950 ramp

primary
#BA9D43
secondary
#919EC8
accent
#72D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #BA9D43

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

Preview Lab → · Contrast checker → · Palette generator →

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