#B9BF3A#B9BF3A

#B9BF3A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.151 H 112.0°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B9BF3A
RGBrgb(185, 191, 58)
HSLhsl(63, 53%, 49%)
HSVhsv(63, 70%, 75%)
CMYKcmyk(3.1%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.75, -18.34, 62.84)
CIE-LCHlch(74.75, 65.47, 106.27°)
OKLaboklab(77.6% -0.0565 0.14)
OKLCHoklch(77.6% 0.151 112)
XYZxyz(39.4033, 47.8823, 11.1687)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF3A #403ABF
analogous
#BF833A #B9BF3A #77BF3A
triadic
#B9BF3A #3AB9BF #BF3AB9
tetradic
#B9BF3A #3ABF83 #403ABF #BF3A77
square
#B9BF3A #3ABF83 #403ABF #BF3A77
split-complementary
#B9BF3A #3A77BF #833ABF
monochromatic
#5E611D #8C902C #B9BF3A #CCD066 #DBDF95

Accessibility & contrast

On white

1.99
#B9BF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B9BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF3A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF3A#FFFFFF#000000##000000
##B9BF3A1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf3a;
/* rgb */ color: rgb(185, 191, 58);
/* oklch */ color: oklch(77.6% 0.151 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d279',
    500: '#b9bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf3a;
$custom-light: #d1d279;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf3a",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 62.707,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77603,
    "c": 0.151,
    "h": 112
  },
  "luminance": 0.47881
}

Semantic roles & 50–950 ramp

primary
#B9BF3A
secondary
#8E8BCA
accent
#4BDD52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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