#BFBA51#BFBA51

#BFBA51 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.2% C 0.127 H 106.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BFBA51
RGBrgb(191, 186, 81)
HSLhsl(57, 46%, 53%)
HSVhsv(57, 58%, 75%)
CMYKcmyk(0%, 2.6%, 57.6%, 25.1%)
CIE-LABlab(74.05, -11.82, 52.72)
CIE-LCHlch(74.05, 54.02, 102.64°)
OKLaboklab(77.22% -0.0361 0.1218)
OKLCHoklch(77.22% 0.127 106.5)
XYZxyz(40.5312, 46.7895, 14.6792)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA51 #5156BF
analogous
#BF8351 #BFBA51 #8DBF51
triadic
#BFBA51 #51BFBA #BA51BF
tetradic
#BFBA51 #51BF83 #5156BF #BF518D
square
#BFBA51 #51BF83 #5156BF #BF518D
split-complementary
#BFBA51 #518DBF #8351BF
monochromatic
#6D6A28 #9A9639 #BFBA51 #CFCC7E #E0DDAA

Accessibility & contrast

On white

2.03
#BFBA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BFBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA51
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA51#FFFFFF#000000##000000
##BFBA511.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#CCAFA3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfba51;
/* rgb */ color: rgb(191, 186, 81);
/* oklch */ color: oklch(77.2% 0.127 106.5);
Tailwind
colors: {
  custom: {
    50: '#d5ce86',
    500: '#bfba51',
    950: '#000000',
  },
}
SCSS
$custom: #bfba51;
$custom-light: #d5ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba51",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 57.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77225,
    "c": 0.12707,
    "h": 106.5
  },
  "luminance": 0.46788
}

Semantic roles & 50–950 ramp

primary
#BFBA51
secondary
#9EA0CE
accent
#58D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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