#B9BF38#B9BF38

#B9BF38 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.152 H 112.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B9BF38
RGBrgb(185, 191, 56)
HSLhsl(63, 55%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.1%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.74, -18.45, 63.56)
CIE-LCHlch(74.74, 66.19, 106.18°)
OKLaboklab(77.59% -0.057 0.1412)
OKLCHoklch(77.59% 0.152 112)
XYZxyz(39.3534, 47.8624, 10.9059)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF38 #3E38BF
analogous
#BF8138 #B9BF38 #75BF38
triadic
#B9BF38 #38B9BF #BF38B9
tetradic
#B9BF38 #38BF81 #3E38BF #BF3875
square
#B9BF38 #38BF81 #3E38BF #BF3875
split-complementary
#B9BF38 #3875BF #8138BF
monochromatic
#5D601C #8B902A #B9BF38 #CCD163 #DCDF92

Accessibility & contrast

On white

1.99
#B9BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B9BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF38
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF38#FFFFFF#000000##000000
##B9BF381.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf38;
/* rgb */ color: rgb(185, 191, 56);
/* oklch */ color: oklch(77.6% 0.152 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d278',
    500: '#b9bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf38;
$custom-light: #d1d278;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf38",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 62.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77589,
    "c": 0.15228,
    "h": 112
  },
  "luminance": 0.47861
}

Semantic roles & 50–950 ramp

primary
#B9BF38
secondary
#8C89CA
accent
#4ADE50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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