#BCBA31#BCBA31

#BCBA31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.151 H 108.6°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BCBA31
RGBrgb(188, 186, 49)
HSLhsl(59, 59%, 46%)
HSVhsv(59, 74%, 74%)
CMYKcmyk(0%, 1.1%, 73.9%, 26.3%)
CIE-LABlab(73.57, -14.98, 64.97)
CIE-LCHlch(73.57, 66.67, 102.99°)
OKLaboklab(76.7% -0.0481 0.1428)
OKLCHoklch(76.7% 0.151 108.6)
XYZxyz(38.8538, 46.0322, 9.7436)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCBA31 #3133BC
analogous
#BC7531 #BCBA31 #79BC31
triadic
#BCBA31 #31BCBA #BA31BC
tetradic
#BCBA31 #31BC75 #3133BC #BC3179
square
#BCBA31 #31BC75 #3133BC #BC3179
split-complementary
#BCBA31 #3179BC #7531BC
monochromatic
#5B5A18 #8B8A24 #BCBA31 #D3D157 #E0DF88

Accessibility & contrast

On white

2.06
#BCBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BCBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCBA31
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCBA31#FFFFFF#000000##000000
##BCBA311.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#CAAEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bcba31;
/* rgb */ color: rgb(188, 186, 49);
/* oklch */ color: oklch(76.7% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#d4ce74',
    500: '#bcba31',
    950: '#000000',
  },
}
SCSS
$custom: #bcba31;
$custom-light: #d4ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#bcba31",
  "rgb": {
    "r": 188,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 59.137,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76698,
    "c": 0.15072,
    "h": 108.6
  },
  "luminance": 0.46031
}

Semantic roles & 50–950 ramp

primary
#BCBA31
secondary
#7F80CA
accent
#48E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BCBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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