#B9BC4D#B9BC4D

#B9BC4D is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.134 H 110.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B9BC4D
RGBrgb(185, 188, 77)
HSLhsl(62, 45%, 52%)
HSVhsv(62, 59%, 74%)
CMYKcmyk(1.6%, 0%, 59%, 26.3%)
CIE-LABlab(74.07, -15.65, 54.39)
CIE-LCHlch(74.07, 56.60, 106.05°)
OKLaboklab(77.11% -0.047 0.125)
OKLCHoklch(77.11% 0.134 110.6)
XYZxyz(39.3314, 46.8175, 13.9845)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC4D #504DBC
analogous
#BC884D #B9BC4D #81BC4D
triadic
#B9BC4D #4DB9BC #BC4DB9
tetradic
#B9BC4D #4DBC88 #504DBC #BC4D81
square
#B9BC4D #4DBC88 #504DBC #BC4D81
split-complementary
#B9BC4D #4D81BC #884DBC
monochromatic
#666827 #929438 #B9BC4D #CACD79 #DCDDA6

Accessibility & contrast

On white

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

On black

10.36
#B9BC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC4D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC4D#FFFFFF#000000##000000
##B9BC4D1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB440
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#C5B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc4d;
/* rgb */ color: rgb(185, 188, 77);
/* oklch */ color: oklch(77.1% 0.134 110.6);
Tailwind
colors: {
  custom: {
    50: '#d1d083',
    500: '#b9bc4d',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc4d;
$custom-light: #d1d083;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc4d",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 77
  },
  "hsl": {
    "h": 61.622,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77108,
    "c": 0.13357,
    "h": 110.6
  },
  "luminance": 0.46817
}

Semantic roles & 50–950 ramp

primary
#B9BC4D
secondary
#9B9ACB
accent
#53D556
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9BC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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