#B9BF2B#B9BF2B

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

Color values

HEX#B9BF2B
RGBrgb(185, 191, 43)
HSLhsl(62, 63%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(3.1%, 0%, 77.5%, 25.1%)
CIE-LABlab(74.67, -19.02, 67.79)
CIE-LCHlch(74.67, 70.41, 105.67°)
OKLaboklab(77.51% -0.0597 0.1479)
OKLCHoklch(77.51% 0.159 112)
XYZxyz(39.0758, 47.7513, 9.4435)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF2B #312BBF
analogous
#BF7B2B #B9BF2B #6FBF2B
triadic
#B9BF2B #2BB9BF #BF2BB9
tetradic
#B9BF2B #2BBF7B #312BBF #BF2B6F
square
#B9BF2B #2BBF7B #312BBF #BF2B6F
split-complementary
#B9BF2B #2B6FBF #7B2BBF
monochromatic
#585B15 #898D20 #B9BF2B #D2D850 #DFE382

Accessibility & contrast

On white

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

On black

10.55
#B9BF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF2B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF2B#FFFFFF#000000##000000
##B9BF2B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9bf2b;
/* rgb */ color: rgb(185, 191, 43);
/* oklch */ color: oklch(77.5% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d271',
    500: '#b9bf2b',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf2b;
$custom-light: #d2d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf2b",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 62.432,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7751,
    "c": 0.15949,
    "h": 112
  },
  "luminance": 0.4775
}

Semantic roles & 50–950 ramp

primary
#B9BF2B
secondary
#7D7ACC
accent
#42E648
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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