#B9BB2F#B9BB2F

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

Color values

HEX#B9BB2F
RGBrgb(185, 187, 47)
HSLhsl(61, 60%, 46%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.1%, 0%, 74.9%, 26.7%)
CIE-LABlab(73.59, -16.86, 65.56)
CIE-LCHlch(73.59, 67.69, 104.42°)
OKLaboklab(76.65% -0.0534 0.1438)
OKLCHoklch(76.65% 0.153 110.4)
XYZxyz(38.2924, 46.0613, 9.5624)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB2F #312FBB
analogous
#BB772F #B9BB2F #73BB2F
triadic
#B9BB2F #2FB9BB #BB2FB9
tetradic
#B9BB2F #2FBB77 #312FBB #BB2F73
square
#B9BB2F #2FBB77 #312FBB #BB2F73
split-complementary
#B9BB2F #2F73BB #772FBB
monochromatic
#585916 #898A23 #B9BB2F #D2D453 #DFE084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BB2F#FFFFFF#000000##000000
##B9BB2F1.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)
#CAB30D
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#C6AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb2f;
/* rgb */ color: rgb(185, 187, 47);
/* oklch */ color: oklch(76.6% 0.153 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf73',
    500: '#b9bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb2f;
$custom-light: #d2cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb2f",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 60.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7665,
    "c": 0.15342,
    "h": 110.4
  },
  "luminance": 0.4606
}

Semantic roles & 50–950 ramp

primary
#B9BB2F
secondary
#7D7CC9
accent
#45E347
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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