#B9BB2C#B9BB2C

#B9BB2C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.155 H 110.4°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B9BB2C
RGBrgb(185, 187, 44)
HSLhsl(61, 62%, 45%)
HSVhsv(61, 76%, 73%)
CMYKcmyk(1.1%, 0%, 76.5%, 26.7%)
CIE-LABlab(73.57, -16.98, 66.50)
CIE-LCHlch(73.57, 68.63, 104.33°)
OKLaboklab(76.63% -0.054 0.1453)
OKLCHoklch(76.63% 0.155 110.4)
XYZxyz(38.2339, 46.0379, 9.2545)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB2C #2E2CBB
analogous
#BB752C #B9BB2C #72BB2C
triadic
#B9BB2C #2CB9BB #BB2CB9
tetradic
#B9BB2C #2CBB75 #2E2CBB #BB2C72
square
#B9BB2C #2CBB75 #2E2CBB #BB2C72
split-complementary
#B9BB2C #2C72BB #752CBB
monochromatic
#575815 #888920 #B9BB2C #D4D64F #E0E180

Accessibility & contrast

On white

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

On black

10.21
#B9BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB2C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB2C#FFFFFF#000000##000000
##B9BB2C1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB302
Deuteranopia (green-blind)
#CBB738
Tritanopia (blue-blind)
#C6AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb2c;
/* rgb */ color: rgb(185, 187, 44);
/* oklch */ color: oklch(76.6% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf71',
    500: '#b9bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb2c;
$custom-light: #d2cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb2c",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 60.839,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76633,
    "c": 0.15499,
    "h": 110.4
  },
  "luminance": 0.46037
}

Semantic roles & 50–950 ramp

primary
#B9BB2C
secondary
#7A79CA
accent
#43E545
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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