#B9BC31#B9BC31

#B9BC31 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.153 H 110.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#B9BC31
RGBrgb(185, 188, 49)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 74%)
CMYKcmyk(1.6%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.87, -17.28, 65.17)
CIE-LCHlch(73.87, 67.42, 104.85°)
OKLaboklab(76.88% -0.0544 0.1434)
OKLCHoklch(76.88% 0.153 110.8)
XYZxyz(38.5465, 46.5035, 9.8507)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC31 #3431BC
analogous
#BC7A31 #B9BC31 #74BC31
triadic
#B9BC31 #31B9BC #BC31B9
tetradic
#B9BC31 #31BC7A #3431BC #BC3174
square
#B9BC31 #31BC7A #3431BC #BC3174
split-complementary
#B9BC31 #3174BC #7A31BC
monochromatic
#595B18 #898B24 #B9BC31 #D1D357 #DEE088

Accessibility & contrast

On white

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

On black

10.30
#B9BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC31
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC31#FFFFFF#000000##000000
##B9BC311.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bc31;
/* rgb */ color: rgb(185, 188, 49);
/* oklch */ color: oklch(76.9% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf74',
    500: '#b9bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc31;
$custom-light: #d2cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc31",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 61.295,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.15333,
    "h": 110.8
  },
  "luminance": 0.46502
}

Semantic roles & 50–950 ramp

primary
#B9BC31
secondary
#817FCA
accent
#46E249
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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