#B9BC26#B9BC26

#B9BC26 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.159 H 110.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B9BC26
RGBrgb(185, 188, 38)
HSLhsl(61, 66%, 44%)
HSVhsv(61, 80%, 74%)
CMYKcmyk(1.6%, 0%, 79.8%, 26.3%)
CIE-LABlab(73.82, -17.70, 68.47)
CIE-LCHlch(73.82, 70.73, 104.50°)
OKLaboklab(76.82% -0.0565 0.1484)
OKLCHoklch(76.82% 0.159 110.8)
XYZxyz(38.3421, 46.4218, 8.7739)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC26 #2926BC
analogous
#BC7426 #B9BC26 #6EBC26
triadic
#B9BC26 #26B9BC #BC26B9
tetradic
#B9BC26 #26BC74 #2926BC #BC266E
square
#B9BC26 #26BC74 #2926BC #BC266E
split-complementary
#B9BC26 #266EBC #7426BC
monochromatic
#555611 #87891C #B9BC26 #D7DA46 #E2E479

Accessibility & contrast

On white

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

On black

10.28
#B9BC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC26
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC26#FFFFFF#000000##000000
##B9BC261.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB734
Tritanopia (blue-blind)
#C6B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bc26;
/* rgb */ color: rgb(185, 188, 38);
/* oklch */ color: oklch(76.8% 0.159 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf6f',
    500: '#b9bc26',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc26;
$custom-light: #d2cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc26",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 38
  },
  "hsl": {
    "h": 61.2,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76823,
    "c": 0.15881,
    "h": 110.8
  },
  "luminance": 0.46421
}

Semantic roles & 50–950 ramp

primary
#B9BC26
secondary
#7472CC
accent
#3FE942
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BC26

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

Preview Lab → · Contrast checker → · Palette generator →

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