#B9BB3A#B9BB3A

#B9BB3A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.147 H 110.3°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#B9BB3A
RGBrgb(185, 187, 58)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 73%)
CMYKcmyk(1.1%, 0%, 69%, 26.7%)
CIE-LABlab(73.65, -16.34, 61.76)
CIE-LCHlch(73.65, 63.88, 104.82°)
OKLaboklab(76.72% -0.0509 0.1377)
OKLCHoklch(76.72% 0.147 110.3)
XYZxyz(38.5429, 46.1615, 10.8819)
Luminance0.4616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB3A #3C3ABB
analogous
#BB7C3A #B9BB3A #78BB3A
triadic
#B9BB3A #3AB9BB #BB3AB9
tetradic
#B9BB3A #3ABB7C #3C3ABB #BB3A78
square
#B9BB3A #3ABB7C #3C3ABB #BB3A78
split-complementary
#B9BB3A #3A78BB #7C3ABB
monochromatic
#5D5E1D #8B8C2C #B9BB3A #CDCF63 #DCDD92

Accessibility & contrast

On white

2.05
#B9BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#B9BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB3A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB3A#FFFFFF#000000##000000
##B9BB3A1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bb3a;
/* rgb */ color: rgb(185, 187, 58);
/* oklch */ color: oklch(76.7% 0.147 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1cf78',
    500: '#b9bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb3a;
$custom-light: #d1cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb3a",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 60.93,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.14684,
    "h": 110.3
  },
  "luminance": 0.4616
}

Semantic roles & 50–950 ramp

primary
#B9BB3A
secondary
#8988C8
accent
#4CDC4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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