#BFBC31#BFBC31

#BFBC31 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.4% C 0.152 H 108.2°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#BFBC31
RGBrgb(191, 188, 49)
HSLhsl(59, 59%, 47%)
HSVhsv(59, 74%, 75%)
CMYKcmyk(0%, 1.6%, 74.3%, 25.1%)
CIE-LABlab(74.36, -14.71, 65.80)
CIE-LCHlch(74.36, 67.42, 102.60°)
OKLaboklab(77.39% -0.0475 0.1445)
OKLCHoklch(77.39% 0.152 108.2)
XYZxyz(40.0250, 47.2659, 9.9200)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBC31 #3134BF
analogous
#BF7531 #BFBC31 #7BBF31
triadic
#BFBC31 #31BFBC #BC31BF
tetradic
#BFBC31 #31BF75 #3134BF #BF317B
square
#BFBC31 #31BF75 #3134BF #BF317B
split-complementary
#BFBC31 #317BBF #7531BF
monochromatic
#5E5C18 #8E8C25 #BFBC31 #D4D259 #E1DF8A

Accessibility & contrast

On white

2.01
#BFBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#BFBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBC31
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBC31#FFFFFF#000000##000000
##BFBC311.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#CDB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bfbc31;
/* rgb */ color: rgb(191, 188, 49);
/* oklch */ color: oklch(77.4% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#d6cf74',
    500: '#bfbc31',
    950: '#000000',
  },
}
SCSS
$custom: #bfbc31;
$custom-light: #d6cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbc31",
  "rgb": {
    "r": 191,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 58.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77392,
    "c": 0.1521,
    "h": 108.2
  },
  "luminance": 0.47265
}

Semantic roles & 50–950 ramp

primary
#BFBC31
secondary
#8183CB
accent
#49E245
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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