#B9B836#B9B836

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

Color values

HEX#B9B836
RGBrgb(185, 184, 54)
HSLhsl(60, 55%, 47%)
HSVhsv(60, 71%, 73%)
CMYKcmyk(0%, 0.5%, 70.8%, 27.5%)
CIE-LABlab(72.80, -15.02, 62.40)
CIE-LCHlch(72.80, 64.18, 103.53°)
OKLaboklab(76.04% -0.0476 0.1384)
OKLCHoklch(76.04% 0.146 109)
XYZxyz(37.8153, 44.8628, 10.1567)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B836 #3637B9
analogous
#B97736 #B9B836 #79B936
triadic
#B9B836 #36B9B8 #B836B9
tetradic
#B9B836 #36B977 #3637B9 #B93679
square
#B9B836 #36B977 #3637B9 #B93679
split-complementary
#B9B836 #3679B9 #7736B9
monochromatic
#5A5A1A #8A8928 #B9B836 #D0CF5D #DDDD8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B836#FFFFFF#000000##000000
##B9B8361.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)
#C7B01F
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#C6AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b836;
/* rgb */ color: rgb(185, 184, 54);
/* oklch */ color: oklch(76.0% 0.146 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1cd76',
    500: '#b9b836',
    950: '#000000',
  },
}
SCSS
$custom: #b9b836;
$custom-light: #d1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b836",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 59.542,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76037,
    "c": 0.14636,
    "h": 109
  },
  "luminance": 0.44862
}

Semantic roles & 50–950 ramp

primary
#B9B836
secondary
#8384C8
accent
#4BDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B836

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

Preview Lab → · Contrast checker → · Palette generator →

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