#B9BB26#B9BB26

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

Color values

HEX#B9BB26
RGBrgb(185, 187, 38)
HSLhsl(61, 66%, 44%)
HSVhsv(61, 80%, 73%)
CMYKcmyk(1.1%, 0%, 79.7%, 26.7%)
CIE-LABlab(73.54, -17.20, 68.23)
CIE-LCHlch(73.54, 70.37, 104.15°)
OKLaboklab(76.6% -0.0551 0.1479)
OKLCHoklch(76.6% 0.158 110.4)
XYZxyz(38.1292, 45.9960, 8.7029)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB26 #2826BB
analogous
#BB7226 #B9BB26 #6FBB26
triadic
#B9BB26 #26B9BB #BB26B9
tetradic
#B9BB26 #26BB72 #2826BB #BB266F
square
#B9BB26 #26BB72 #2826BB #BB266F
split-complementary
#B9BB26 #266FBB #7226BB
monochromatic
#545511 #87881C #B9BB26 #D7D945 #E2E478

Accessibility & contrast

On white

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

On black

10.20
#B9BB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BB26
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BB26#FFFFFF#000000##000000
##B9BB261.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bb26;
/* rgb */ color: rgb(185, 187, 38);
/* oklch */ color: oklch(76.6% 0.158 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf6f',
    500: '#b9bb26',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb26;
$custom-light: #d2cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb26",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 38
  },
  "hsl": {
    "h": 60.805,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.15783,
    "h": 110.4
  },
  "luminance": 0.45995
}

Semantic roles & 50–950 ramp

primary
#B9BB26
secondary
#7372CB
accent
#3FE941
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BB26

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

Preview Lab → · Contrast checker → · Palette generator →

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