#BA9C36#BA9C36

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

Color values

HEX#BA9C36
RGBrgb(186, 156, 54)
HSLhsl(46, 55%, 47%)
HSVhsv(46, 71%, 73%)
CMYKcmyk(0%, 16.1%, 71%, 27.1%)
CIE-LABlab(65.35, 0.11, 55.05)
CIE-LCHlch(65.35, 55.05, 89.89°)
OKLaboklab(70.14% -0.0048 0.1228)
OKLCHoklch(70.14% 0.123 92.2)
XYZxyz(32.8058, 34.4843, 8.4175)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9C36 #3654BA
analogous
#BA5A36 #BA9C36 #96BA36
triadic
#BA9C36 #36BA9C #9C36BA
tetradic
#BA9C36 #36BA5A #3654BA #BA3696
square
#BA9C36 #36BA5A #3654BA #BA3696
split-complementary
#BA9C36 #3696BA #5A36BA
monochromatic
#5B4C1A #8B7428 #BA9C36 #D0B65D #DECB8D

Accessibility & contrast

On white

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

On black

7.90
#BA9C36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9C36
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9C36#FFFFFF#000000##000000
##BA9C361.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba9c36;
/* rgb */ color: rgb(186, 156, 54);
/* oklch */ color: oklch(70.1% 0.123 92.2);
Tailwind
colors: {
  custom: {
    50: '#d2b873',
    500: '#ba9c36',
    950: '#000000',
  },
}
SCSS
$custom: #ba9c36;
$custom-light: #d2b873;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9c36",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 54
  },
  "hsl": {
    "h": 46.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.12292,
    "h": 92.2
  },
  "luminance": 0.34482
}

Semantic roles & 50–950 ramp

primary
#BA9C36
secondary
#8493C8
accent
#6BDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9C36

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

Preview Lab → · Contrast checker → · Palette generator →

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