#BFBF40#BFBF40

#BFBF40 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.146 H 109.3°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#BFBF40
RGBrgb(191, 191, 64)
HSLhsl(60, 50%, 50%)
HSVhsv(60, 66%, 75%)
CMYKcmyk(0%, 0%, 66.5%, 25.1%)
CIE-LABlab(75.27, -15.48, 61.24)
CIE-LCHlch(75.27, 63.16, 104.19°)
OKLaboklab(78.15% -0.0482 0.1375)
OKLCHoklch(78.15% 0.146 109.3)
XYZxyz(41.0434, 48.7093, 12.0893)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBF40 #4040BF
analogous
#BF8040 #BFBF40 #80BF40
triadic
#BFBF40 #40BFBF #BF40BF
tetradic
#BFBF40 #40BF80 #4040BF #BF4080
square
#BFBF40 #40BF80 #4040BF #BF4080
split-complementary
#BFBF40 #407FBF #7F40BF
monochromatic
#636321 #919131 #BFBF40 #CECE6E #DEDE9C

Accessibility & contrast

On white

1.96
#BFBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#BFBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBF40
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBF40#FFFFFF#000000##000000
##BFBF401.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D0BB49
Tritanopia (blue-blind)
#CCB3A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bfbf40;
/* rgb */ color: rgb(191, 191, 64);
/* oklch */ color: oklch(78.1% 0.146 109.3);
Tailwind
colors: {
  custom: {
    50: '#d5d27c',
    500: '#bfbf40',
    950: '#000000',
  },
}
SCSS
$custom: #bfbf40;
$custom-light: #d5d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbf40",
  "rgb": {
    "r": 191,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.78148,
    "c": 0.14567,
    "h": 109.3
  },
  "luminance": 0.48708
}

Semantic roles & 50–950 ramp

primary
#BFBF40
secondary
#9191CA
accent
#4ED94E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BFBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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