#B9BC37#B9BC37

#B9BC37 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.150 H 110.7°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#B9BC37
RGBrgb(185, 188, 55)
HSLhsl(61, 55%, 48%)
HSVhsv(61, 71%, 74%)
CMYKcmyk(1.6%, 0%, 70.7%, 26.3%)
CIE-LABlab(73.91, -16.99, 63.11)
CIE-LCHlch(73.91, 65.36, 105.07°)
OKLaboklab(76.92% -0.053 0.1401)
OKLCHoklch(76.92% 0.15 110.7)
XYZxyz(38.6817, 46.5576, 10.5626)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC37 #3A37BC
analogous
#BC7C37 #B9BC37 #77BC37
triadic
#B9BC37 #37B9BC #BC37B9
tetradic
#B9BC37 #37BC7C #3A37BC #BC3777
square
#B9BC37 #37BC7C #3A37BC #BC3777
split-complementary
#B9BC37 #3777BC #7C37BC
monochromatic
#5C5D1B #8A8D29 #B9BC37 #CED060 #DCDE8F

Accessibility & contrast

On white

2.04
#B9BC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#B9BC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC37
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC37#FFFFFF#000000##000000
##B9BC371.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB420
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#C6B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc37;
/* rgb */ color: rgb(185, 188, 55);
/* oklch */ color: oklch(76.9% 0.150 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf77',
    500: '#b9bc37',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc37;
$custom-light: #d1cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc37",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 55
  },
  "hsl": {
    "h": 61.353,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.14979,
    "h": 110.7
  },
  "luminance": 0.46557
}

Semantic roles & 50–950 ramp

primary
#B9BC37
secondary
#8786C9
accent
#4ADE4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BC37

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

Preview Lab → · Contrast checker → · Palette generator →

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