#B9B84F#B9B84F

#B9B84F is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.127 H 108.6°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B9B84F
RGBrgb(185, 184, 79)
HSLhsl(59, 43%, 52%)
HSVhsv(59, 57%, 73%)
CMYKcmyk(0%, 0.5%, 57.3%, 27.5%)
CIE-LABlab(73.00, -13.47, 52.30)
CIE-LCHlch(73.00, 54.01, 104.44°)
OKLaboklab(76.26% -0.0406 0.1208)
OKLCHoklch(76.26% 0.127 108.6)
XYZxyz(38.5605, 45.1608, 14.0813)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B84F #4F50B9
analogous
#B9834F #B9B84F #85B94F
triadic
#B9B84F #4FB9B8 #B84FB9
tetradic
#B9B84F #4FB983 #4F50B9 #B94F85
square
#B9B84F #4FB983 #4F50B9 #B94F85
split-complementary
#B9B84F #4F85B9 #834FB9
monochromatic
#656528 #91903A #B9B84F #CACA7B #DCDBA7

Accessibility & contrast

On white

2.09
#B9B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B9B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B84F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B84F#FFFFFF#000000##000000
##B9B84F1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B144
Deuteranopia (green-blind)
#C7B555
Tritanopia (blue-blind)
#C5ADA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b84f;
/* rgb */ color: rgb(185, 184, 79);
/* oklch */ color: oklch(76.3% 0.127 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0cd84',
    500: '#b9b84f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b84f;
$custom-light: #d0cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b84f",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 59.434,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76256,
    "c": 0.12748,
    "h": 108.6
  },
  "luminance": 0.4516
}

Semantic roles & 50–950 ramp

primary
#B9B84F
secondary
#9B9BC9
accent
#56D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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