#BFB531#BFB531

#BFB531 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.146 H 104.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BFB531
RGBrgb(191, 181, 49)
HSLhsl(56, 59%, 47%)
HSVhsv(56, 74%, 75%)
CMYKcmyk(0%, 5.2%, 74.3%, 25.1%)
CIE-LABlab(72.46, -11.13, 64.02)
CIE-LCHlch(72.46, 64.98, 99.86°)
OKLaboklab(75.88% -0.0375 0.1407)
OKLCHoklch(75.88% 0.146 104.9)
XYZxyz(38.5658, 44.3474, 9.4336)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB531 #313BBF
analogous
#BF6E31 #BFB531 #82BF31
triadic
#BFB531 #31BFB5 #B531BF
tetradic
#BFB531 #31BF6E #313BBF #BF3182
square
#BFB531 #31BF6E #313BBF #BF3182
split-complementary
#BFB531 #3182BF #6E31BF
monochromatic
#5E5918 #8E8725 #BFB531 #D4CC59 #E1DB8A

Accessibility & contrast

On white

2.13
#BFB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#BFB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB531
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB531#FFFFFF#000000##000000
##BFB5311.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF16
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#CDA89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb531;
/* rgb */ color: rgb(191, 181, 49);
/* oklch */ color: oklch(75.9% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#d6ca73',
    500: '#bfb531',
    950: '#000000',
  },
}
SCSS
$custom: #bfb531;
$custom-light: #d6ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb531",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 55.775,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75877,
    "c": 0.14561,
    "h": 104.9
  },
  "luminance": 0.44346
}

Semantic roles & 50–950 ramp

primary
#BFB531
secondary
#8186CB
accent
#50E245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB531

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

Preview Lab → · Contrast checker → · Palette generator →

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