#BFBF51#BFBF51

#BFBF51 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.3% C 0.132 H 109.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#BFBF51
RGBrgb(191, 191, 81)
HSLhsl(60, 46%, 53%)
HSVhsv(60, 58%, 75%)
CMYKcmyk(0%, 0%, 57.6%, 25.1%)
CIE-LABlab(75.41, -14.37, 54.23)
CIE-LCHlch(75.41, 56.10, 104.85°)
OKLaboklab(78.3% -0.0433 0.1251)
OKLCHoklch(78.3% 0.132 109.1)
XYZxyz(41.6030, 48.9332, 15.0365)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBF51 #5151BF
analogous
#BF8851 #BFBF51 #88BF51
triadic
#BFBF51 #51BFBF #BF51BF
tetradic
#BFBF51 #51BF88 #5151BF #BF5188
square
#BFBF51 #51BF88 #5151BF #BF5188
split-complementary
#BFBF51 #5188BF #8851BF
monochromatic
#6D6D28 #9A9A39 #BFBF51 #CFCF7E #E0E0AA

Accessibility & contrast

On white

1.95
#BFBF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#BFBF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBF51
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBF51#FFFFFF#000000##000000
##BFBF511.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#CBB4A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bfbf51;
/* rgb */ color: rgb(191, 191, 81);
/* oklch */ color: oklch(78.3% 0.132 109.1);
Tailwind
colors: {
  custom: {
    50: '#d5d286',
    500: '#bfbf51',
    950: '#000000',
  },
}
SCSS
$custom: #bfbf51;
$custom-light: #d5d286;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbf51",
  "rgb": {
    "r": 191,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78304,
    "c": 0.13235,
    "h": 109.1
  },
  "luminance": 0.48932
}

Semantic roles & 50–950 ramp

primary
#BFBF51
secondary
#9E9ECE
accent
#52D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #BFBF51

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

Preview Lab → · Contrast checker → · Palette generator →

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