#B9BF40#B9BF40

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

Color values

HEX#B9BF40
RGBrgb(185, 191, 64)
HSLhsl(63, 50%, 50%)
HSVhsv(63, 66%, 75%)
CMYKcmyk(3.1%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.79, -18.01, 60.59)
CIE-LCHlch(74.79, 63.21, 106.55°)
OKLaboklab(77.65% -0.055 0.1363)
OKLCHoklch(77.65% 0.147 112)
XYZxyz(39.5650, 47.9470, 12.0200)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF40 #4640BF
analogous
#BF8640 #B9BF40 #79BF40
triadic
#B9BF40 #40B9BF #BF40B9
tetradic
#B9BF40 #40BF86 #4640BF #BF4079
square
#B9BF40 #40BF86 #4640BF #BF4079
split-complementary
#B9BF40 #4079BF #8640BF
monochromatic
#606321 #8D9131 #B9BF40 #CACE6E #DBDE9C

Accessibility & contrast

On white

1.98
#B9BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#B9BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF40
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF40#FFFFFF#000000##000000
##B9BF401.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#C5B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf40;
/* rgb */ color: rgb(185, 191, 64);
/* oklch */ color: oklch(77.6% 0.147 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d27c',
    500: '#b9bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf40;
$custom-light: #d1d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf40",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 62.835,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77649,
    "c": 0.14695,
    "h": 112
  },
  "luminance": 0.47946
}

Semantic roles & 50–950 ramp

primary
#B9BF40
secondary
#9491CA
accent
#4ED955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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