#BFBF42#BFBF42

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

Color values

HEX#BFBF42
RGBrgb(191, 191, 66)
HSLhsl(60, 49%, 50%)
HSVhsv(60, 65%, 75%)
CMYKcmyk(0%, 0%, 65.4%, 25.1%)
CIE-LABlab(75.28, -15.37, 60.46)
CIE-LCHlch(75.28, 62.38, 104.26°)
OKLaboklab(78.16% -0.0477 0.1361)
OKLCHoklch(78.16% 0.144 109.3)
XYZxyz(41.1014, 48.7325, 12.3944)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBF42 #4242BF
analogous
#BF8042 #BFBF42 #80BF42
triadic
#BFBF42 #42BFBF #BF42BF
tetradic
#BFBF42 #42BF80 #4242BF #BF4280
square
#BFBF42 #42BF80 #4242BF #BF4280
split-complementary
#BFBF42 #4280BF #8042BF
monochromatic
#656522 #929232 #BFBF42 #CECE70 #DEDE9D

Accessibility & contrast

On white

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

On black

10.75
#BFBF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBF42
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBF42#FFFFFF#000000##000000
##BFBF421.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#CCB3A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bfbf42;
/* rgb */ color: rgb(191, 191, 66);
/* oklch */ color: oklch(78.2% 0.144 109.3);
Tailwind
colors: {
  custom: {
    50: '#d5d27d',
    500: '#bfbf42',
    950: '#000000',
  },
}
SCSS
$custom: #bfbf42;
$custom-light: #d5d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbf42",
  "rgb": {
    "r": 191,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78164,
    "c": 0.14425,
    "h": 109.3
  },
  "luminance": 0.48731
}

Semantic roles & 50–950 ramp

primary
#BFBF42
secondary
#9393CA
accent
#4FD94F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BFBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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