#B9BB40#B9BB40

#B9BB40 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.143 H 110.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B9BB40
RGBrgb(185, 187, 64)
HSLhsl(61, 49%, 49%)
HSVhsv(61, 66%, 73%)
CMYKcmyk(1.1%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.69, -16.00, 59.47)
CIE-LCHlch(73.69, 61.58, 105.06°)
OKLaboklab(76.77% -0.0494 0.1339)
OKLCHoklch(76.77% 0.143 110.2)
XYZxyz(38.7045, 46.2261, 11.7332)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB40 #4240BB
analogous
#BB8040 #B9BB40 #7BBB40
triadic
#B9BB40 #40B9BB #BB40B9
tetradic
#B9BB40 #40BB80 #4240BB #BB407B
square
#B9BB40 #40BB80 #4240BB #BB407B
split-complementary
#B9BB40 #407BBB #8040BB
monochromatic
#5F6021 #8C8D30 #B9BB40 #CBCD6C #DBDC99

Accessibility & contrast

On white

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

On black

10.25
#B9BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB40
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB40#FFFFFF#000000##000000
##B9BB401.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#C6B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb40;
/* rgb */ color: rgb(185, 187, 64);
/* oklch */ color: oklch(76.8% 0.143 110.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf7b',
    500: '#b9bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb40;
$custom-light: #d1cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb40",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 60.976,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7677,
    "c": 0.1427,
    "h": 110.2
  },
  "luminance": 0.46225
}

Semantic roles & 50–950 ramp

primary
#B9BB40
secondary
#908FC8
accent
#4FD951
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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