#B9B833#B9B833

#B9B833 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.148 H 109.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B9B833
RGBrgb(185, 184, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 72%, 73%)
CMYKcmyk(0%, 0.5%, 72.4%, 27.5%)
CIE-LABlab(72.78, -15.16, 63.45)
CIE-LCHlch(72.78, 65.24, 103.44°)
OKLaboklab(76.02% -0.0483 0.1401)
OKLCHoklch(76.02% 0.148 109)
XYZxyz(37.7470, 44.8354, 9.7971)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B833 #3334B9
analogous
#B97533 #B9B833 #77B933
triadic
#B9B833 #33B9B8 #B833B9
tetradic
#B9B833 #33B975 #3334B9 #B93377
square
#B9B833 #33B975 #3334B9 #B93377
split-complementary
#B9B833 #3377B9 #7533B9
monochromatic
#595919 #898826 #B9B833 #D1D058 #DEDE88

Accessibility & contrast

On white

2.11
#B9B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B9B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B833
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B833#FFFFFF#000000##000000
##B9B8331.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b833;
/* rgb */ color: rgb(185, 184, 51);
/* oklch */ color: oklch(76.0% 0.148 109.0);
Tailwind
colors: {
  custom: {
    50: '#d2cd74',
    500: '#b9b833',
    950: '#000000',
  },
}
SCSS
$custom: #b9b833;
$custom-light: #d2cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b833",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 59.552,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76017,
    "c": 0.14819,
    "h": 109
  },
  "luminance": 0.44834
}

Semantic roles & 50–950 ramp

primary
#B9B833
secondary
#8080C8
accent
#49E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B833

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

Preview Lab → · Contrast checker → · Palette generator →

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