#BFB541#BFB541

#BFB541 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.0% C 0.135 H 104.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#BFB541
RGBrgb(191, 181, 65)
HSLhsl(55, 50%, 50%)
HSVhsv(55, 66%, 75%)
CMYKcmyk(0%, 5.2%, 66%, 25.1%)
CIE-LABlab(72.57, -10.32, 58.06)
CIE-LCHlch(72.57, 58.97, 100.07°)
OKLaboklab(76% -0.0336 0.1309)
OKLCHoklch(76% 0.135 104.4)
XYZxyz(38.9654, 44.5072, 11.5382)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB541 #414BBF
analogous
#BF7641 #BFB541 #8ABF41
triadic
#BFB541 #41BFB5 #B541BF
tetradic
#BFB541 #41BF76 #414BBF #BF418A
square
#BFB541 #41BF76 #414BBF #BF418A
split-complementary
#BFB541 #418ABF #7641BF
monochromatic
#645F22 #928A31 #BFB541 #CEC76F #DED99D

Accessibility & contrast

On white

2.12
#BFB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#BFB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB541
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB541#FFFFFF#000000##000000
##BFB5411.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#C8B448
Tritanopia (blue-blind)
#CDA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb541;
/* rgb */ color: rgb(191, 181, 65);
/* oklch */ color: oklch(76.0% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#d5ca7c',
    500: '#bfb541',
    950: '#000000',
  },
}
SCSS
$custom: #bfb541;
$custom-light: #d5ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb541",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 55.238,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75996,
    "c": 0.13514,
    "h": 104.4
  },
  "luminance": 0.44506
}

Semantic roles & 50–950 ramp

primary
#BFB541
secondary
#9296CA
accent
#5AD94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB541

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

Preview Lab → · Contrast checker → · Palette generator →

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