#B9BF4F#B9BF4F

#B9BF4F is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.8% C 0.135 H 112.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#B9BF4F
RGBrgb(185, 191, 79)
HSLhsl(63, 47%, 53%)
HSVhsv(63, 59%, 75%)
CMYKcmyk(3.1%, 0%, 58.6%, 25.1%)
CIE-LABlab(74.91, -17.02, 54.43)
CIE-LCHlch(74.91, 57.03, 107.36°)
OKLaboklab(77.79% -0.0506 0.1254)
OKLCHoklch(77.79% 0.135 112)
XYZxyz(40.0507, 48.1413, 14.5780)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF4F #554FBF
analogous
#BF8D4F #B9BF4F #81BF4F
triadic
#B9BF4F #4FB9BF #BF4FB9
tetradic
#B9BF4F #4FBF8D #554FBF #BF4F81
square
#B9BF4F #4FBF8D #554FBF #BF4F81
split-complementary
#B9BF4F #4F81BF #8D4FBF
monochromatic
#696C27 #949938 #B9BF4F #CBCF7C #DDE0A9

Accessibility & contrast

On white

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

On black

10.63
#B9BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF4F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF4F#FFFFFF#000000##000000
##B9BF4F1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#C4B4A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf4f;
/* rgb */ color: rgb(185, 191, 79);
/* oklch */ color: oklch(77.8% 0.135 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d285',
    500: '#b9bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf4f;
$custom-light: #d0d285;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf4f",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 63.214,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77786,
    "c": 0.13522,
    "h": 112
  },
  "luminance": 0.4814
}

Semantic roles & 50–950 ramp

primary
#B9BF4F
secondary
#9F9DCD
accent
#51D659
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B9BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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