#B9BC38#B9BC38

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

Color values

HEX#B9BC38
RGBrgb(185, 188, 56)
HSLhsl(61, 54%, 48%)
HSVhsv(61, 70%, 74%)
CMYKcmyk(1.6%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.91, -16.94, 62.76)
CIE-LCHlch(73.91, 65.00, 105.11°)
OKLaboklab(76.93% -0.0528 0.1395)
OKLCHoklch(76.93% 0.149 110.7)
XYZxyz(38.7059, 46.5673, 10.6901)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC38 #3B38BC
analogous
#BC7D38 #B9BC38 #77BC38
triadic
#B9BC38 #38B9BC #BC38B9
tetradic
#B9BC38 #38BC7D #3B38BC #BC3877
square
#B9BC38 #38BC7D #3B38BC #BC3877
split-complementary
#B9BC38 #3877BC #7D38BC
monochromatic
#5C5E1C #8B8D2A #B9BC38 #CDD061 #DCDE90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BC38#FFFFFF#000000##000000
##B9BC381.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)
#CBB421
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#C6B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc38;
/* rgb */ color: rgb(185, 188, 56);
/* oklch */ color: oklch(76.9% 0.149 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf77',
    500: '#b9bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc38;
$custom-light: #d1cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc38",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 61.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76928,
    "c": 0.14916,
    "h": 110.7
  },
  "luminance": 0.46566
}

Semantic roles & 50–950 ramp

primary
#B9BC38
secondary
#8887C9
accent
#4ADD4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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