#BA9B37#BA9B37

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

Color values

HEX#BA9B37
RGBrgb(186, 155, 55)
HSLhsl(46, 54%, 47%)
HSVhsv(46, 70%, 73%)
CMYKcmyk(0%, 16.7%, 70.4%, 27.1%)
CIE-LABlab(65.09, 0.70, 54.38)
CIE-LCHlch(65.09, 54.38, 89.26°)
OKLaboklab(69.94% -0.003 0.1216)
OKLCHoklch(69.94% 0.122 91.4)
XYZxyz(32.6624, 34.1595, 8.4868)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9B37 #3756BA
analogous
#BA5A37 #BA9B37 #97BA37
triadic
#BA9B37 #37BA9B #9B37BA
tetradic
#BA9B37 #37BA5A #3756BA #BA3797
square
#BA9B37 #37BA5A #3756BA #BA3797
split-complementary
#BA9B37 #3797BA #5A37BA
monochromatic
#5C4C1B #8B7429 #BA9B37 #D0B55F #DECB8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9B37#FFFFFF#000000##000000
##BA9B371.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)
#AC9929
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#C98E87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9b37;
/* rgb */ color: rgb(186, 155, 55);
/* oklch */ color: oklch(69.9% 0.122 91.4);
Tailwind
colors: {
  custom: {
    50: '#d2b874',
    500: '#ba9b37',
    950: '#000000',
  },
}
SCSS
$custom: #ba9b37;
$custom-light: #d2b874;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9b37",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 55
  },
  "hsl": {
    "h": 45.802,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.12162,
    "h": 91.4
  },
  "luminance": 0.34158
}

Semantic roles & 50–950 ramp

primary
#BA9B37
secondary
#8595C8
accent
#6DDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9B37

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

Preview Lab → · Contrast checker → · Palette generator →

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