#BA9B39#BA9B39

#BA9B39 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 70.0% C 0.120 H 91.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#BA9B39
RGBrgb(186, 155, 57)
HSLhsl(46, 53%, 48%)
HSVhsv(46, 69%, 73%)
CMYKcmyk(0%, 16.7%, 69.4%, 27.1%)
CIE-LABlab(65.10, 0.81, 53.55)
CIE-LCHlch(65.10, 53.55, 89.14°)
OKLaboklab(69.96% -0.0024 0.1202)
OKLCHoklch(69.96% 0.12 91.2)
XYZxyz(32.7113, 34.1791, 8.7444)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9B39 #3958BA
analogous
#BA5A39 #BA9B39 #99BA39
triadic
#BA9B39 #39BA9B #9B39BA
tetradic
#BA9B39 #39BA5A #3958BA #BA3999
square
#BA9B39 #39BA5A #3958BA #BA3999
split-complementary
#BA9B39 #3999BA #5A39BA
monochromatic
#5C4D1C #8B742B #BA9B39 #CFB461 #DDCB90

Accessibility & contrast

On white

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

On black

7.84
#BA9B39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9B39
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9B39#FFFFFF#000000##000000
##BA9B391.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992C
Deuteranopia (green-blind)
#B3A23E
Tritanopia (blue-blind)
#C98F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9b39;
/* rgb */ color: rgb(186, 155, 57);
/* oklch */ color: oklch(70.0% 0.120 91.2);
Tailwind
colors: {
  custom: {
    50: '#d2b875',
    500: '#ba9b39',
    950: '#000000',
  },
}
SCSS
$custom: #ba9b39;
$custom-light: #d2b875;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9b39",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 57
  },
  "hsl": {
    "h": 45.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.12021,
    "h": 91.2
  },
  "luminance": 0.34177
}

Semantic roles & 50–950 ramp

primary
#BA9B39
secondary
#8796C8
accent
#6EDC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9B39

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

Preview Lab → · Contrast checker → · Palette generator →

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