#B9BF31#B9BF31

#B9BF31 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.156 H 112.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B9BF31
RGBrgb(185, 191, 49)
HSLhsl(63, 59%, 47%)
HSVhsv(63, 74%, 75%)
CMYKcmyk(3.1%, 0%, 74.3%, 25.1%)
CIE-LABlab(74.70, -18.78, 65.94)
CIE-LCHlch(74.70, 68.56, 105.90°)
OKLaboklab(77.54% -0.0586 0.145)
OKLCHoklch(77.54% 0.156 112)
XYZxyz(39.1941, 47.7986, 10.0665)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF31 #3731BF
analogous
#BF7E31 #B9BF31 #72BF31
triadic
#B9BF31 #31B9BF #BF31B9
tetradic
#B9BF31 #31BF7E #3731BF #BF3172
square
#B9BF31 #31BF7E #3731BF #BF3172
split-complementary
#B9BF31 #3172BF #7E31BF
monochromatic
#5B5E18 #8A8E25 #B9BF31 #CFD459 #DDE18A

Accessibility & contrast

On white

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

On black

10.56
#B9BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF31
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF31#FFFFFF#000000##000000
##B9BF311.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf31;
/* rgb */ color: rgb(185, 191, 49);
/* oklch */ color: oklch(77.5% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d274',
    500: '#b9bf31',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf31;
$custom-light: #d2d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf31",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 62.535,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77544,
    "c": 0.15638,
    "h": 112
  },
  "luminance": 0.47798
}

Semantic roles & 50–950 ramp

primary
#B9BF31
secondary
#8481CB
accent
#45E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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