#BFBB40#BFBB40

#BFBB40 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.3% C 0.142 H 107.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BFBB40
RGBrgb(191, 187, 64)
HSLhsl(58, 50%, 50%)
HSVhsv(58, 66%, 75%)
CMYKcmyk(0%, 2.1%, 66.5%, 25.1%)
CIE-LABlab(74.18, -13.45, 60.13)
CIE-LCHlch(74.18, 61.61, 102.61°)
OKLaboklab(77.28% -0.0425 0.1351)
OKLCHoklch(77.28% 0.142 107.5)
XYZxyz(40.1830, 46.9885, 11.8025)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBB40 #4044BF
analogous
#BF7B40 #BFBB40 #84BF40
triadic
#BFBB40 #40BFBB #BB40BF
tetradic
#BFBB40 #40BF7B #4044BF #BF4084
square
#BFBB40 #40BF7B #4044BF #BF4084
split-complementary
#BFBB40 #4084BF #7B40BF
monochromatic
#636121 #918E31 #BFBB40 #CECB6E #DEDC9C

Accessibility & contrast

On white

2.02
#BFBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#BFBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBB40
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBB40#FFFFFF#000000##000000
##BFBB401.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#CCAFA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfbb40;
/* rgb */ color: rgb(191, 187, 64);
/* oklch */ color: oklch(77.3% 0.142 107.5);
Tailwind
colors: {
  custom: {
    50: '#d5cf7c',
    500: '#bfbb40',
    950: '#000000',
  },
}
SCSS
$custom: #bfbb40;
$custom-light: #d5cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbb40",
  "rgb": {
    "r": 191,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 58.11,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77281,
    "c": 0.14165,
    "h": 107.5
  },
  "luminance": 0.46987
}

Semantic roles & 50–950 ramp

primary
#BFBB40
secondary
#9193CA
accent
#53D94E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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