#B9B533#B9B533

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

Color values

HEX#B9B533
RGBrgb(185, 181, 51)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 72%, 73%)
CMYKcmyk(0%, 2.2%, 72.4%, 27.5%)
CIE-LABlab(71.96, -13.63, 62.67)
CIE-LCHlch(71.96, 64.14, 102.27°)
OKLaboklab(75.36% -0.044 0.1384)
OKLCHoklch(75.36% 0.145 107.6)
XYZxyz(37.1304, 43.6023, 9.5915)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B533 #3337B9
analogous
#B97233 #B9B533 #7AB933
triadic
#B9B533 #33B9B5 #B533B9
tetradic
#B9B533 #33B972 #3337B9 #B9337A
square
#B9B533 #33B972 #3337B9 #B9337A
split-complementary
#B9B533 #337AB9 #7233B9
monochromatic
#595719 #898626 #B9B533 #D1CD58 #DEDC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B533#FFFFFF#000000##000000
##B9B5331.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)
#C4AE1B
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#C6A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b533;
/* rgb */ color: rgb(185, 181, 51);
/* oklch */ color: oklch(75.4% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#d2ca74',
    500: '#b9b533',
    950: '#000000',
  },
}
SCSS
$custom: #b9b533;
$custom-light: #d2ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b533",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 58.209,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75361,
    "c": 0.14526,
    "h": 107.6
  },
  "luminance": 0.43601
}

Semantic roles & 50–950 ramp

primary
#B9B533
secondary
#8082C8
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B533

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

Preview Lab → · Contrast checker → · Palette generator →

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