#BCBD31#BCBD31

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

Color values

HEX#BCBD31
RGBrgb(188, 189, 49)
HSLhsl(60, 59%, 47%)
HSVhsv(60, 74%, 74%)
CMYKcmyk(0.5%, 0%, 74.1%, 25.9%)
CIE-LABlab(74.39, -16.50, 65.74)
CIE-LCHlch(74.39, 67.77, 104.09°)
OKLaboklab(77.35% -0.0524 0.1445)
OKLCHoklch(77.35% 0.154 109.9)
XYZxyz(39.4924, 47.3095, 9.9564)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCBD31 #3231BD
analogous
#BD7831 #BCBD31 #76BD31
triadic
#BCBD31 #31BCBD #BD31BC
tetradic
#BCBD31 #31BD78 #3231BD #BD3176
square
#BCBD31 #31BD78 #3231BD #BD3176
split-complementary
#BCBD31 #3176BD #7831BD
monochromatic
#5B5C18 #8C8C24 #BCBD31 #D3D458 #E0E088

Accessibility & contrast

On white

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

On black

10.46
#BCBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCBD31
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCBD31#FFFFFF#000000##000000
##BCBD311.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bcbd31;
/* rgb */ color: rgb(188, 189, 49);
/* oklch */ color: oklch(77.4% 0.154 109.9);
Tailwind
colors: {
  custom: {
    50: '#d4d074',
    500: '#bcbd31',
    950: '#000000',
  },
}
SCSS
$custom: #bcbd31;
$custom-light: #d4d074;
$custom-dark: #000000;
JSON
{
  "hex": "#bcbd31",
  "rgb": {
    "r": 188,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 60.429,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.15366,
    "h": 109.9
  },
  "luminance": 0.47308
}

Semantic roles & 50–950 ramp

primary
#BCBD31
secondary
#8080CA
accent
#46E247
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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