#B9B82B#B9B82B

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

Color values

HEX#B9B82B
RGBrgb(185, 184, 43)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0%, 0.5%, 76.8%, 27.5%)
CIE-LABlab(72.74, -15.50, 66.05)
CIE-LCHlch(72.74, 67.85, 103.21°)
OKLaboklab(75.97% -0.05 0.1442)
OKLCHoklch(75.97% 0.153 109.1)
XYZxyz(37.5856, 44.7709, 8.9468)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B82B #2B2CB9
analogous
#B9712B #B9B82B #73B92B
triadic
#B9B82B #2BB9B8 #B82BB9
tetradic
#B9B82B #2BB971 #2B2CB9 #B92B73
square
#B9B82B #2BB971 #2B2CB9 #B92B73
split-complementary
#B9B82B #2B73B9 #712BB9
monochromatic
#565514 #87871F #B9B82B #D5D44C #E1E07E

Accessibility & contrast

On white

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

On black

9.95
#B9B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B82B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B82B#FFFFFF#000000##000000
##B9B82B1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B002
Deuteranopia (green-blind)
#C9B537
Tritanopia (blue-blind)
#C7AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b82b;
/* rgb */ color: rgb(185, 184, 43);
/* oklch */ color: oklch(76.0% 0.153 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd70',
    500: '#b9b82b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b82b;
$custom-light: #d2cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b82b",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 59.577,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.15257,
    "h": 109.1
  },
  "luminance": 0.4477
}

Semantic roles & 50–950 ramp

primary
#B9B82B
secondary
#7677C9
accent
#44E542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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