#BB9D3B#BB9D3B

#BB9D3B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.120 H 91.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BB9D3B
RGBrgb(187, 157, 59)
HSLhsl(46, 52%, 48%)
HSVhsv(46, 68%, 73%)
CMYKcmyk(0%, 16%, 68.4%, 26.7%)
CIE-LABlab(65.75, 0.28, 53.38)
CIE-LCHlch(65.75, 53.39, 89.70°)
OKLaboklab(70.49% -0.0038 0.1202)
OKLCHoklch(70.49% 0.12 91.8)
XYZxyz(33.3416, 34.9964, 9.1356)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D3B #3B59BB
analogous
#BB5D3B #BB9D3B #99BB3B
triadic
#BB9D3B #3BBB9D #9D3BBB
tetradic
#BB9D3B #3BBB5D #3B59BB #BB3B99
square
#BB9D3B #3BBB5D #3B59BB #BB3B99
split-complementary
#BB9D3B #3B99BB #5D3BBB
monochromatic
#5E4F1E #8C762C #BB9D3B #CEB665 #DDCC93

Accessibility & contrast

On white

2.63
#BB9D3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BB9D3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D3B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D3B#FFFFFF#000000##000000
##BB9D3B1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2E
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#CA9189
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb9d3b;
/* rgb */ color: rgb(187, 157, 59);
/* oklch */ color: oklch(70.5% 0.120 91.8);
Tailwind
colors: {
  custom: {
    50: '#d3b976',
    500: '#bb9d3b',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d3b;
$custom-light: #d3b976;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d3b",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 45.938,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70489,
    "c": 0.12022,
    "h": 91.8
  },
  "luminance": 0.34995
}

Semantic roles & 50–950 ramp

primary
#BB9D3B
secondary
#8A98C8
accent
#6EDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BB9D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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