#B9BF42#B9BF42

#B9BF42 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.146 H 112.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B9BF42
RGBrgb(185, 191, 66)
HSLhsl(63, 49%, 50%)
HSVhsv(63, 65%, 75%)
CMYKcmyk(3.1%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.81, -17.89, 59.81)
CIE-LCHlch(74.81, 62.43, 106.65°)
OKLaboklab(77.66% -0.0545 0.1349)
OKLCHoklch(77.66% 0.146 112)
XYZxyz(39.6229, 47.9701, 12.3251)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF42 #4842BF
analogous
#BF8642 #B9BF42 #7ABF42
triadic
#B9BF42 #42B9BF #BF42B9
tetradic
#B9BF42 #42BF86 #4842BF #BF427A
square
#B9BF42 #42BF86 #4842BF #BF427A
split-complementary
#B9BF42 #427ABF #8642BF
monochromatic
#616522 #8E9232 #B9BF42 #CACE70 #DBDE9D

Accessibility & contrast

On white

1.98
#B9BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#B9BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF42
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF42#FFFFFF#000000##000000
##B9BF421.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#C5B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf42;
/* rgb */ color: rgb(185, 191, 66);
/* oklch */ color: oklch(77.7% 0.146 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d27d',
    500: '#b9bf42',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf42;
$custom-light: #d1d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf42",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 62.88,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77665,
    "c": 0.14551,
    "h": 112
  },
  "luminance": 0.47969
}

Semantic roles & 50–950 ramp

primary
#B9BF42
secondary
#9593CA
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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