#B9B532#B9B532

#B9B532 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.4% C 0.146 H 107.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B9B532
RGBrgb(185, 181, 50)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 73%, 73%)
CMYKcmyk(0%, 2.2%, 73%, 27.5%)
CIE-LABlab(71.96, -13.68, 63.02)
CIE-LCHlch(71.96, 64.48, 102.25°)
OKLaboklab(75.36% -0.0442 0.139)
OKLCHoklch(75.36% 0.146 107.7)
XYZxyz(37.1086, 43.5936, 9.4767)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B532 #3236B9
analogous
#B97132 #B9B532 #79B932
triadic
#B9B532 #32B9B5 #B532B9
tetradic
#B9B532 #32B971 #3236B9 #B93279
square
#B9B532 #32B971 #3236B9 #B93279
split-complementary
#B9B532 #3279B9 #7132B9
monochromatic
#595718 #898625 #B9B532 #D2CE57 #DFDC87

Accessibility & contrast

On white

2.16
#B9B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B9B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B532
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B532#FFFFFF#000000##000000
##B9B5321.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE19
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#C7A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b532;
/* rgb */ color: rgb(185, 181, 50);
/* oklch */ color: oklch(75.4% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2ca73',
    500: '#b9b532',
    950: '#000000',
  },
}
SCSS
$custom: #b9b532;
$custom-light: #d2ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b532",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 58.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75355,
    "c": 0.14585,
    "h": 107.7
  },
  "luminance": 0.43592
}

Semantic roles & 50–950 ramp

primary
#B9B532
secondary
#7F81C8
accent
#4CE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B532

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

Preview Lab → · Contrast checker → · Palette generator →

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