#B9B73A#B9B73A

#B9B73A is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.143 H 108.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#B9B73A
RGBrgb(185, 183, 58)
HSLhsl(59, 52%, 48%)
HSVhsv(59, 69%, 73%)
CMYKcmyk(0%, 1.1%, 68.6%, 27.5%)
CIE-LABlab(72.55, -14.31, 60.66)
CIE-LCHlch(72.55, 62.33, 103.27°)
OKLaboklab(75.85% -0.0452 0.1354)
OKLCHoklch(75.85% 0.143 108.5)
XYZxyz(37.7061, 44.4879, 10.6030)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B73A #3A3CB9
analogous
#B9773A #B9B73A #7CB93A
triadic
#B9B73A #3AB9B7 #B73AB9
tetradic
#B9B73A #3AB977 #3A3CB9 #B93A7C
square
#B9B73A #3AB977 #3A3CB9 #B93A7C
split-complementary
#B9B73A #3A7CB9 #773AB9
monochromatic
#5C5B1D #8A892B #B9B73A #CECC62 #DCDB91

Accessibility & contrast

On white

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

On black

9.90
#B9B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B73A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B73A#FFFFFF#000000##000000
##B9B73A1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b73a;
/* rgb */ color: rgb(185, 183, 58);
/* oklch */ color: oklch(75.8% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#d1cc78',
    500: '#b9b73a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b73a;
$custom-light: #d1cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b73a",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 59.055,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75847,
    "c": 0.14278,
    "h": 108.5
  },
  "luminance": 0.44487
}

Semantic roles & 50–950 ramp

primary
#B9B73A
secondary
#8788C7
accent
#4EDC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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