#B9BC40#B9BC40

#B9BC40 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.144 H 110.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#B9BC40
RGBrgb(185, 188, 64)
HSLhsl(61, 49%, 49%)
HSVhsv(61, 66%, 74%)
CMYKcmyk(1.6%, 0%, 66%, 26.3%)
CIE-LABlab(73.97, -16.50, 59.75)
CIE-LCHlch(73.97, 61.99, 105.44°)
OKLaboklab(76.99% -0.0508 0.1345)
OKLCHoklch(76.99% 0.144 110.7)
XYZxyz(38.9174, 46.6519, 11.8041)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC40 #4340BC
analogous
#BC8140 #B9BC40 #7BBC40
triadic
#B9BC40 #40B9BC #BC40B9
tetradic
#B9BC40 #40BC81 #4340BC #BC407B
square
#B9BC40 #40BC81 #4340BC #BC407B
split-complementary
#B9BC40 #407BBC #8140BC
monochromatic
#5F6121 #8C8E30 #B9BC40 #CBCD6C #DBDD9A

Accessibility & contrast

On white

2.03
#B9BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#B9BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC40
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC40#FFFFFF#000000##000000
##B9BC401.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42E
Deuteranopia (green-blind)
#CBB848
Tritanopia (blue-blind)
#C5B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc40;
/* rgb */ color: rgb(185, 188, 64);
/* oklch */ color: oklch(77.0% 0.144 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1d07c',
    500: '#b9bc40',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc40;
$custom-light: #d1d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc40",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 61.452,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76989,
    "c": 0.14375,
    "h": 110.7
  },
  "luminance": 0.46651
}

Semantic roles & 50–950 ramp

primary
#B9BC40
secondary
#918FC9
accent
#4FD952
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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