#B9BB2A#B9BB2A

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

Color values

HEX#B9BB2A
RGBrgb(185, 187, 42)
HSLhsl(61, 63%, 45%)
HSVhsv(61, 78%, 73%)
CMYKcmyk(1.1%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.56, -17.06, 67.10)
CIE-LCHlch(73.56, 69.23, 104.26°)
OKLaboklab(76.62% -0.0544 0.1462)
OKLCHoklch(76.62% 0.156 110.4)
XYZxyz(38.1972, 46.0232, 9.0613)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BB2A #2C2ABB
analogous
#BB752A #B9BB2A #70BB2A
triadic
#B9BB2A #2AB9BB #BB2AB9
tetradic
#B9BB2A #2ABB75 #2C2ABB #BB2A70
square
#B9BB2A #2ABB75 #2C2ABB #BB2A70
split-complementary
#B9BB2A #2A70BB #752ABB
monochromatic
#565714 #88891F #B9BB2A #D5D74C #E1E27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BB2A#FFFFFF#000000##000000
##B9BB2A1.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)
#CCB737
Tritanopia (blue-blind)
#C6AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bb2a;
/* rgb */ color: rgb(185, 187, 42);
/* oklch */ color: oklch(76.6% 0.156 110.4);
Tailwind
colors: {
  custom: {
    50: '#d2cf70',
    500: '#b9bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9bb2a;
$custom-light: #d2cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bb2a",
  "rgb": {
    "r": 185,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 60.828,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76623,
    "c": 0.15598,
    "h": 110.4
  },
  "luminance": 0.46022
}

Semantic roles & 50–950 ramp

primary
#B9BB2A
secondary
#7876CA
accent
#41E644
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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