#BA9B35#BA9B35

#BA9B35 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.123 H 91.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BA9B35
RGBrgb(186, 155, 53)
HSLhsl(46, 56%, 47%)
HSVhsv(46, 72%, 73%)
CMYKcmyk(0%, 16.7%, 71.5%, 27.1%)
CIE-LABlab(65.07, 0.59, 55.19)
CIE-LCHlch(65.07, 55.19, 89.38°)
OKLaboklab(69.92% -0.0035 0.1229)
OKLCHoklch(69.92% 0.123 91.6)
XYZxyz(32.6154, 34.1408, 8.2394)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9B35 #3554BA
analogous
#BA5935 #BA9B35 #97BA35
triadic
#BA9B35 #35BA9B #9B35BA
tetradic
#BA9B35 #35BA59 #3554BA #BA3597
square
#BA9B35 #35BA59 #3554BA #BA3597
split-complementary
#BA9B35 #3597BA #5935BA
monochromatic
#5B4C1A #8A7327 #BA9B35 #D0B55C #DECB8B

Accessibility & contrast

On white

2.68
#BA9B35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BA9B35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9B35
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9B35#FFFFFF#000000##000000
##BA9B351.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9926
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#C98E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9b35;
/* rgb */ color: rgb(186, 155, 53);
/* oklch */ color: oklch(69.9% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#d3b872',
    500: '#ba9b35',
    950: '#000000',
  },
}
SCSS
$custom: #ba9b35;
$custom-light: #d3b872;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9b35",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 53
  },
  "hsl": {
    "h": 46.015,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.12299,
    "h": 91.6
  },
  "luminance": 0.34139
}

Semantic roles & 50–950 ramp

primary
#BA9B35
secondary
#8293C8
accent
#6CDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9B35

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

Preview Lab → · Contrast checker → · Palette generator →

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