#B9BB52#B9BB52

#B9BB52 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.128 H 110.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B9BB52
RGBrgb(185, 187, 82)
HSLhsl(61, 44%, 53%)
HSVhsv(61, 56%, 73%)
CMYKcmyk(1.1%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.85, -14.77, 51.89)
CIE-LCHlch(73.85, 53.95, 105.88°)
OKLaboklab(76.94% -0.044 0.1203)
OKLCHoklch(76.94% 0.128 110.1)
XYZxyz(39.3019, 46.4651, 14.8793)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB52 #5452BB
analogous
#BB8852 #B9BB52 #84BB52
triadic
#B9BB52 #52B9BB #BB52B9
tetradic
#B9BB52 #52BB88 #5452BB #BB5284
square
#B9BB52 #52BB88 #5452BB #BB5284
split-complementary
#B9BB52 #5284BB #8852BB
monochromatic
#686929 #93953B #B9BB52 #CBCC7E #DDDEAA

Accessibility & contrast

On white

2.04
#B9BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B9BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB52
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB52#FFFFFF#000000##000000
##B9BB521.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#C5B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb52;
/* rgb */ color: rgb(185, 187, 82);
/* oklch */ color: oklch(76.9% 0.128 110.1);
Tailwind
colors: {
  custom: {
    50: '#d0cf86',
    500: '#b9bb52',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb52;
$custom-light: #d0cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb52",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 61.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76942,
    "c": 0.1281,
    "h": 110.1
  },
  "luminance": 0.46464
}

Semantic roles & 50–950 ramp

primary
#B9BB52
secondary
#9F9ECB
accent
#54D357
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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