#B9B733#B9B733

#B9B733 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.147 H 108.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B9B733
RGBrgb(185, 183, 51)
HSLhsl(59, 57%, 46%)
HSVhsv(59, 72%, 73%)
CMYKcmyk(0%, 1.1%, 72.4%, 27.5%)
CIE-LABlab(72.51, -14.66, 63.19)
CIE-LCHlch(72.51, 64.87, 103.06°)
OKLaboklab(75.8% -0.0469 0.1395)
OKLCHoklch(75.8% 0.147 108.6)
XYZxyz(37.5400, 44.4215, 9.7281)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B733 #3335B9
analogous
#B97433 #B9B733 #78B933
triadic
#B9B733 #33B9B7 #B733B9
tetradic
#B9B733 #33B974 #3335B9 #B93378
square
#B9B733 #33B974 #3335B9 #B93378
split-complementary
#B9B733 #3378B9 #7433B9
monochromatic
#595819 #898826 #B9B733 #D1CF58 #DEDD88

Accessibility & contrast

On white

2.12
#B9B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B9B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B733
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B733#FFFFFF#000000##000000
##B9B7331.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b733;
/* rgb */ color: rgb(185, 183, 51);
/* oklch */ color: oklch(75.8% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cc74',
    500: '#b9b733',
    950: '#000000',
  },
}
SCSS
$custom: #b9b733;
$custom-light: #d2cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b733",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 59.104,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75798,
    "c": 0.14721,
    "h": 108.6
  },
  "luminance": 0.4442
}

Semantic roles & 50–950 ramp

primary
#B9B733
secondary
#8081C8
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B733

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

Preview Lab → · Contrast checker → · Palette generator →

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