#B9BC3A#B9BC3A

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

Color values

HEX#B9BC3A
RGBrgb(185, 188, 58)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 74%)
CMYKcmyk(1.6%, 0%, 69.1%, 26.3%)
CIE-LABlab(73.92, -16.84, 62.03)
CIE-LCHlch(73.92, 64.27, 105.19°)
OKLaboklab(76.94% -0.0523 0.1383)
OKLCHoklch(76.94% 0.148 110.7)
XYZxyz(38.7558, 46.5872, 10.9529)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC3A #3D3ABC
analogous
#BC7E3A #B9BC3A #78BC3A
triadic
#B9BC3A #3AB9BC #BC3AB9
tetradic
#B9BC3A #3ABC7E #3D3ABC #BC3A78
square
#B9BC3A #3ABC7E #3D3ABC #BC3A78
split-complementary
#B9BC3A #3A78BC #7E3ABC
monochromatic
#5D5E1D #8B8D2C #B9BC3A #CDCF64 #DCDE93

Accessibility & contrast

On white

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

On black

10.32
#B9BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC3A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC3A#FFFFFF#000000##000000
##B9BC3A1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bc3a;
/* rgb */ color: rgb(185, 188, 58);
/* oklch */ color: oklch(76.9% 0.148 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf78',
    500: '#b9bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc3a;
$custom-light: #d1cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc3a",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 61.385,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.14787,
    "h": 110.7
  },
  "luminance": 0.46586
}

Semantic roles & 50–950 ramp

primary
#B9BC3A
secondary
#8B89C9
accent
#4CDC4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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