#B9B332#B9B332

#B9B332 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.144 H 106.7°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B9B332
RGBrgb(185, 179, 50)
HSLhsl(57, 57%, 46%)
HSVhsv(57, 73%, 73%)
CMYKcmyk(0%, 3.2%, 73%, 27.5%)
CIE-LABlab(71.41, -12.66, 62.49)
CIE-LCHlch(71.41, 63.76, 101.45°)
OKLaboklab(74.92% -0.0414 0.1379)
OKLCHoklch(74.92% 0.144 106.7)
XYZxyz(36.7049, 42.7861, 9.3421)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B332 #3238B9
analogous
#B96F32 #B9B332 #7BB932
triadic
#B9B332 #32B9B3 #B332B9
tetradic
#B9B332 #32B96F #3238B9 #B9327B
square
#B9B332 #32B96F #3238B9 #B9327B
split-complementary
#B9B332 #327BB9 #6F32B9
monochromatic
#595618 #898425 #B9B332 #D2CC57 #DFDB87

Accessibility & contrast

On white

2.20
#B9B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B9B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B332
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B332#FFFFFF#000000##000000
##B9B3321.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC19
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b332;
/* rgb */ color: rgb(185, 179, 50);
/* oklch */ color: oklch(74.9% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2c973',
    500: '#b9b332',
    950: '#000000',
  },
}
SCSS
$custom: #b9b332;
$custom-light: #d2c973;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b332",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 57.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74919,
    "c": 0.14396,
    "h": 106.7
  },
  "luminance": 0.42785
}

Semantic roles & 50–950 ramp

primary
#B9B332
secondary
#7F82C8
accent
#4EE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B332

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

Preview Lab → · Contrast checker → · Palette generator →

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