#B9BB22#B9BB22

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

Color values

HEX#B9BB22
RGBrgb(185, 187, 34)
HSLhsl(61, 69%, 43%)
HSVhsv(61, 82%, 73%)
CMYKcmyk(1.1%, 0%, 81.8%, 26.7%)
CIE-LABlab(73.53, -17.33, 69.28)
CIE-LCHlch(73.53, 71.41, 104.04°)
OKLaboklab(76.59% -0.0557 0.1495)
OKLCHoklch(76.59% 0.16 110.4)
XYZxyz(38.0681, 45.9716, 8.3812)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB22 #2422BB
analogous
#BB7022 #B9BB22 #6CBB22
triadic
#B9BB22 #22B9BB #BB22B9
tetradic
#B9BB22 #22BB70 #2422BB #BB226C
square
#B9BB22 #22BB70 #2422BB #BB226C
split-complementary
#B9BB22 #226CBB #7022BB
monochromatic
#53530F #868719 #B9BB22 #DADC3E #E4E572

Accessibility & contrast

On white

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

On black

10.19
#B9BB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB22
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB22#FFFFFF#000000##000000
##B9BB221.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CCB731
Tritanopia (blue-blind)
#C7AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb22;
/* rgb */ color: rgb(185, 187, 34);
/* oklch */ color: oklch(76.6% 0.160 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf6d',
    500: '#b9bb22',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb22;
$custom-light: #d2cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb22",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 34
  },
  "hsl": {
    "h": 60.784,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76585,
    "c": 0.15951,
    "h": 110.4
  },
  "luminance": 0.4597
}

Semantic roles & 50–950 ramp

primary
#B9BB22
secondary
#6E6DCC
accent
#3CEC3E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BB22

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

Preview Lab → · Contrast checker → · Palette generator →

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