#B9B83A#B9B83A

#B9B83A is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.144 H 108.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B9B83A
RGBrgb(185, 184, 58)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 69%, 73%)
CMYKcmyk(0%, 0.5%, 68.6%, 27.5%)
CIE-LABlab(72.83, -14.81, 60.94)
CIE-LCHlch(72.83, 62.71, 103.66°)
OKLaboklab(76.07% -0.0466 0.136)
OKLCHoklch(76.07% 0.144 108.9)
XYZxyz(37.9131, 44.9019, 10.6720)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B83A #3A3BB9
analogous
#B9793A #B9B83A #7AB93A
triadic
#B9B83A #3AB9B8 #B83AB9
tetradic
#B9B83A #3AB979 #3A3BB9 #B93A7A
square
#B9B83A #3AB979 #3A3BB9 #B93A7A
split-complementary
#B9B83A #3A7AB9 #793AB9
monochromatic
#5C5B1D #8A8A2B #B9B83A #CECD62 #DCDC91

Accessibility & contrast

On white

2.10
#B9B83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#B9B83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B83A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B83A#FFFFFF#000000##000000
##B9B83A1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B026
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#C6AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b83a;
/* rgb */ color: rgb(185, 184, 58);
/* oklch */ color: oklch(76.1% 0.144 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd78',
    500: '#b9b83a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b83a;
$custom-light: #d1cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b83a",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 58
  },
  "hsl": {
    "h": 59.528,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.14378,
    "h": 108.9
  },
  "luminance": 0.44901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B83A

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

Preview Lab → · Contrast checker → · Palette generator →

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