#BFBA42#BFBA42

#BFBA42 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.139 H 106.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BFBA42
RGBrgb(191, 186, 66)
HSLhsl(58, 49%, 50%)
HSVhsv(58, 65%, 75%)
CMYKcmyk(0%, 2.6%, 65.4%, 25.1%)
CIE-LABlab(73.93, -12.83, 59.06)
CIE-LCHlch(73.93, 60.43, 102.25°)
OKLaboklab(77.08% -0.0406 0.1332)
OKLCHoklch(77.08% 0.139 106.9)
XYZxyz(40.0296, 46.5888, 12.0371)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA42 #4247BF
analogous
#BF7B42 #BFBA42 #85BF42
triadic
#BFBA42 #42BFBA #BA42BF
tetradic
#BFBA42 #42BF7B #4247BF #BF4285
square
#BFBA42 #42BF7B #4247BF #BF4285
split-complementary
#BFBA42 #4285BF #7B42BF
monochromatic
#656222 #928E32 #BFBA42 #CECB70 #DEDB9D

Accessibility & contrast

On white

2.04
#BFBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#BFBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA42
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA42#FFFFFF#000000##000000
##BFBA421.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#CCAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfba42;
/* rgb */ color: rgb(191, 186, 66);
/* oklch */ color: oklch(77.1% 0.139 106.9);
Tailwind
colors: {
  custom: {
    50: '#d5ce7d',
    500: '#bfba42',
    950: '#000000',
  },
}
SCSS
$custom: #bfba42;
$custom-light: #d5ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba42",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 57.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.13921,
    "h": 106.9
  },
  "luminance": 0.46588
}

Semantic roles & 50–950 ramp

primary
#BFBA42
secondary
#9395CA
accent
#54D94F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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