#BFCF51#BFCF51

#BFCF51 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.150 H 115.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#BFCF51
RGBrgb(191, 207, 81)
HSLhsl(68, 57%, 56%)
HSVhsv(68, 61%, 81%)
CMYKcmyk(7.7%, 0%, 60.9%, 18.8%)
CIE-LABlab(79.78, -22.34, 59.03)
CIE-LCHlch(79.78, 63.11, 110.73°)
OKLaboklab(81.8% -0.0658 0.1353)
OKLCHoklch(81.8% 0.15 115.9)
XYZxyz(45.2848, 56.2967, 16.2638)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCF51 #6151CF
analogous
#CFA051 #BFCF51 #80CF51
triadic
#BFCF51 #51BFCF #CF51BF
tetradic
#BFCF51 #51CFA0 #6151CF #CF5180
square
#BFCF51 #51CFA0 #6151CF #CF5180
split-complementary
#BFCF51 #5180CF #A051CF
monochromatic
#768224 #A1B231 #BFCF51 #D1DC81 #E2E9B1

Accessibility & contrast

On white

1.71
#BFCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#BFCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCF51
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCF51#FFFFFF#000000##000000
##BFCF511.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#CAC4B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bfcf51;
/* rgb */ color: rgb(191, 207, 81);
/* oklch */ color: oklch(81.8% 0.150 115.9);
Tailwind
colors: {
  custom: {
    50: '#d5dd87',
    500: '#bfcf51',
    950: '#000000',
  },
}
SCSS
$custom: #bfcf51;
$custom-light: #d5dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#bfcf51",
  "rgb": {
    "r": 191,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 67.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.1504,
    "h": 115.9
  },
  "luminance": 0.56296
}

Semantic roles & 50–950 ramp

primary
#BFCF51
secondary
#453B89
accent
#48E05B
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #BFCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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