#B9B133#B9B133

#B9B133 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.141 H 105.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B9B133
RGBrgb(185, 177, 51)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 72%, 73%)
CMYKcmyk(0%, 4.3%, 72.4%, 27.5%)
CIE-LABlab(70.87, -11.58, 61.62)
CIE-LCHlch(70.87, 62.70, 100.64°)
OKLaboklab(74.49% -0.0382 0.1362)
OKLCHoklch(74.49% 0.141 105.7)
XYZxyz(36.3287, 41.9989, 9.3243)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B133 #333BB9
analogous
#B96E33 #B9B133 #7EB933
triadic
#B9B133 #33B9B1 #B133B9
tetradic
#B9B133 #33B96E #333BB9 #B9337E
square
#B9B133 #33B96E #333BB9 #B9337E
split-complementary
#B9B133 #337EB9 #6E33B9
monochromatic
#595519 #898326 #B9B133 #D1CA58 #DED988

Accessibility & contrast

On white

2.23
#B9B133 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B9B133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B133
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B133#FFFFFF#000000##000000
##B9B1331.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1C
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b133;
/* rgb */ color: rgb(185, 177, 51);
/* oklch */ color: oklch(74.5% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#d2c874',
    500: '#b9b133',
    950: '#000000',
  },
}
SCSS
$custom: #b9b133;
$custom-light: #d2c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b133",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 51
  },
  "hsl": {
    "h": 56.418,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74491,
    "c": 0.14149,
    "h": 105.7
  },
  "luminance": 0.41998
}

Semantic roles & 50–950 ramp

primary
#B9B133
secondary
#8084C8
accent
#51E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B133

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

Preview Lab → · Contrast checker → · Palette generator →

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