#BB9D2B#BB9D2B

#BB9D2B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.131 H 93.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#BB9D2B
RGBrgb(187, 157, 43)
HSLhsl(48, 63%, 45%)
HSVhsv(48, 77%, 73%)
CMYKcmyk(0%, 16%, 77%, 26.7%)
CIE-LABlab(65.64, -0.50, 59.59)
CIE-LCHlch(65.64, 59.60, 90.48°)
OKLaboklab(70.37% -0.0078 0.1303)
OKLCHoklch(70.37% 0.131 93.4)
XYZxyz(32.9884, 34.8551, 7.2752)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9D2B #2B49BB
analogous
#BB552B #BB9D2B #91BB2B
triadic
#BB9D2B #2BBB9D #9D2BBB
tetradic
#BB9D2B #2BBB55 #2B49BB #BB2B91
square
#BB9D2B #2BBB55 #2B49BB #BB2B91
split-complementary
#BB9D2B #2B91BB #552BBB
monochromatic
#574914 #897320 #BB9D2B #D6BA4D #E2CD7F

Accessibility & contrast

On white

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

On black

7.97
#BB9D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9D2B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9D2B#FFFFFF#000000##000000
##BB9D2B1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A15
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#CA9087
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb9d2b;
/* rgb */ color: rgb(187, 157, 43);
/* oklch */ color: oklch(70.4% 0.131 93.4);
Tailwind
colors: {
  custom: {
    50: '#d4b96d',
    500: '#bb9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #bb9d2b;
$custom-light: #d4b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9d2b",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 47.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.13051,
    "h": 93.4
  },
  "luminance": 0.34853
}

Semantic roles & 50–950 ramp

primary
#BB9D2B
secondary
#7889CA
accent
#64E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BB9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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