#B9BB31#B9BB31

#B9BB31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.152 H 110.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B9BB31
RGBrgb(185, 187, 49)
HSLhsl(61, 58%, 46%)
HSVhsv(61, 74%, 73%)
CMYKcmyk(1.1%, 0%, 73.8%, 26.7%)
CIE-LABlab(73.60, -16.77, 64.91)
CIE-LCHlch(73.60, 67.04, 104.49°)
OKLaboklab(76.66% -0.053 0.1428)
OKLCHoklch(76.66% 0.152 110.4)
XYZxyz(38.3336, 46.0778, 9.7797)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB31 #3331BB
analogous
#BB7831 #B9BB31 #74BB31
triadic
#B9BB31 #31B9BB #BB31B9
tetradic
#B9BB31 #31BB78 #3331BB #BB3174
square
#B9BB31 #31BB78 #3331BB #BB3174
split-complementary
#B9BB31 #3174BB #7831BB
monochromatic
#595A18 #898B24 #B9BB31 #D1D356 #DEE087

Accessibility & contrast

On white

2.06
#B9BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B9BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB31
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB31#FFFFFF#000000##000000
##B9BB311.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#C6AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb31;
/* rgb */ color: rgb(185, 187, 49);
/* oklch */ color: oklch(76.7% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf74',
    500: '#b9bb31',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb31;
$custom-light: #d2cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb31",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 60.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76662,
    "c": 0.15232,
    "h": 110.4
  },
  "luminance": 0.46077
}

Semantic roles & 50–950 ramp

primary
#B9BB31
secondary
#807FC9
accent
#46E248
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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