#BA9C33#BA9C33

#BA9C33 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.1% C 0.125 H 92.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BA9C33
RGBrgb(186, 156, 51)
HSLhsl(47, 57%, 46%)
HSVhsv(47, 73%, 73%)
CMYKcmyk(0%, 16.1%, 72.6%, 27.1%)
CIE-LABlab(65.32, -0.05, 56.24)
CIE-LCHlch(65.32, 56.24, 90.05°)
OKLaboklab(70.11% -0.0056 0.1248)
OKLCHoklch(70.11% 0.125 92.6)
XYZxyz(32.7375, 34.4570, 8.0579)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C33 #3351BA
analogous
#BA5933 #BA9C33 #95BA33
triadic
#BA9C33 #33BA9C #9C33BA
tetradic
#BA9C33 #33BA59 #3351BA #BA3395
square
#BA9C33 #33BA59 #3351BA #BA3395
split-complementary
#BA9C33 #3395BA #5933BA
monochromatic
#5A4B19 #8A7426 #BA9C33 #D1B759 #DFCC89

Accessibility & contrast

On white

2.66
#BA9C33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BA9C33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9C33
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9C33#FFFFFF#000000##000000
##BA9C331.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A23
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#C98F87
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9c33;
/* rgb */ color: rgb(186, 156, 51);
/* oklch */ color: oklch(70.1% 0.125 92.6);
Tailwind
colors: {
  custom: {
    50: '#d3b871',
    500: '#ba9c33',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c33;
$custom-light: #d3b871;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c33",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 51
  },
  "hsl": {
    "h": 46.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70113,
    "c": 0.12492,
    "h": 92.6
  },
  "luminance": 0.34455
}

Semantic roles & 50–950 ramp

primary
#BA9C33
secondary
#8090C9
accent
#69E048
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9C33

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

Preview Lab → · Contrast checker → · Palette generator →

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