#BA9B36#BA9B36

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

Color values

HEX#BA9B36
RGBrgb(186, 155, 54)
HSLhsl(46, 55%, 47%)
HSVhsv(46, 71%, 73%)
CMYKcmyk(0%, 16.7%, 71%, 27.1%)
CIE-LABlab(65.08, 0.65, 54.78)
CIE-LCHlch(65.08, 54.79, 89.33°)
OKLaboklab(69.93% -0.0033 0.1223)
OKLCHoklch(69.93% 0.122 91.5)
XYZxyz(32.6387, 34.1501, 8.3618)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9B36 #3655BA
analogous
#BA5936 #BA9B36 #97BA36
triadic
#BA9B36 #36BA9B #9B36BA
tetradic
#BA9B36 #36BA59 #3655BA #BA3697
square
#BA9B36 #36BA59 #3655BA #BA3697
split-complementary
#BA9B36 #3697BA #5936BA
monochromatic
#5B4C1A #8B7328 #BA9B36 #D0B55D #DECB8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9B36#FFFFFF#000000##000000
##BA9B361.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)
#AC9928
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#C98E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9b36;
/* rgb */ color: rgb(186, 155, 54);
/* oklch */ color: oklch(69.9% 0.122 91.5);
Tailwind
colors: {
  custom: {
    50: '#d3b873',
    500: '#ba9b36',
    950: '#000000',
  },
}
SCSS
$custom: #ba9b36;
$custom-light: #d3b873;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9b36",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 54
  },
  "hsl": {
    "h": 45.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.1223,
    "h": 91.5
  },
  "luminance": 0.34148
}

Semantic roles & 50–950 ramp

primary
#BA9B36
secondary
#8494C8
accent
#6CDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9B36

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

Preview Lab → · Contrast checker → · Palette generator →

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