#BFB540#BFB540

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

Color values

HEX#BFB540
RGBrgb(191, 181, 64)
HSLhsl(55, 50%, 50%)
HSVhsv(55, 66%, 75%)
CMYKcmyk(0%, 5.2%, 66.5%, 25.1%)
CIE-LABlab(72.56, -10.37, 58.46)
CIE-LCHlch(72.56, 59.37, 100.06°)
OKLaboklab(75.99% -0.0338 0.1316)
OKLCHoklch(75.99% 0.136 104.4)
XYZxyz(38.9367, 44.4957, 11.3870)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB540 #404ABF
analogous
#BF7640 #BFB540 #89BF40
triadic
#BFB540 #40BFB5 #B540BF
tetradic
#BFB540 #40BF76 #404ABF #BF4089
square
#BFB540 #40BF76 #404ABF #BF4089
split-complementary
#BFB540 #4089BF #7640BF
monochromatic
#635E21 #918A31 #BFB540 #CEC76E #DED99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB540#FFFFFF#000000##000000
##BFB5401.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)
#C5AF30
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#CDA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb540;
/* rgb */ color: rgb(191, 181, 64);
/* oklch */ color: oklch(76.0% 0.136 104.4);
Tailwind
colors: {
  custom: {
    50: '#d5ca7b',
    500: '#bfb540',
    950: '#000000',
  },
}
SCSS
$custom: #bfb540;
$custom-light: #d5ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb540",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 55.276,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.75987,
    "c": 0.13587,
    "h": 104.4
  },
  "luminance": 0.44494
}

Semantic roles & 50–950 ramp

primary
#BFB540
secondary
#9195CA
accent
#59D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB540

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

Preview Lab → · Contrast checker → · Palette generator →

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