#B9BF3F#B9BF3F

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

Color values

HEX#B9BF3F
RGBrgb(185, 191, 63)
HSLhsl(63, 50%, 50%)
HSVhsv(63, 67%, 75%)
CMYKcmyk(3.1%, 0%, 67%, 25.1%)
CIE-LABlab(74.78, -18.07, 60.98)
CIE-LCHlch(74.78, 63.60, 106.51°)
OKLaboklab(77.64% -0.0553 0.1369)
OKLCHoklch(77.64% 0.148 112)
XYZxyz(39.5368, 47.9357, 11.8715)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF3F #453FBF
analogous
#BF853F #B9BF3F #79BF3F
triadic
#B9BF3F #3FB9BF #BF3FB9
tetradic
#B9BF3F #3FBF85 #453FBF #BF3F79
square
#B9BF3F #3FBF85 #453FBF #BF3F79
split-complementary
#B9BF3F #3F79BF #853FBF
monochromatic
#606321 #8C9130 #B9BF3F #CACF6D #DBDE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BF3F#FFFFFF#000000##000000
##B9BF3F1.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)
#CDB62C
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#C5B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf3f;
/* rgb */ color: rgb(185, 191, 63);
/* oklch */ color: oklch(77.6% 0.148 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d27b',
    500: '#b9bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf3f;
$custom-light: #d1d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf3f",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 62.813,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77641,
    "c": 0.14766,
    "h": 112
  },
  "luminance": 0.47935
}

Semantic roles & 50–950 ramp

primary
#B9BF3F
secondary
#9390CA
accent
#4EDA54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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