#BBC531#BBC531

#BBC531 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.162 H 113.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#BBC531
RGBrgb(187, 197, 49)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 77%)
CMYKcmyk(5.1%, 0%, 75.1%, 22.7%)
CIE-LABlab(76.51, -20.91, 67.68)
CIE-LCHlch(76.51, 70.84, 107.17°)
OKLaboklab(79.03% -0.0646 0.1486)
OKLCHoklch(79.03% 0.162 113.5)
XYZxyz(41.0154, 50.7199, 10.5344)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC531 #3B31C5
analogous
#C58531 #BBC531 #71C531
triadic
#BBC531 #31BBC5 #C531BB
tetradic
#BBC531 #31C585 #3B31C5 #C53171
square
#BBC531 #31C585 #3B31C5 #C53171
split-complementary
#BBC531 #3171C5 #8531C5
monochromatic
#5E6319 #8C9425 #BBC531 #CED75D #DDE38E

Accessibility & contrast

On white

1.88
#BBC531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#BBC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC531
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC531#FFFFFF#000000##000000
##BBC5311.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0C
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#C8B9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc531;
/* rgb */ color: rgb(187, 197, 49);
/* oklch */ color: oklch(79.0% 0.162 113.5);
Tailwind
colors: {
  custom: {
    50: '#d3d675',
    500: '#bbc531',
    950: '#000000',
  },
}
SCSS
$custom: #bbc531;
$custom-light: #d3d675;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc531",
  "rgb": {
    "r": 187,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 64.054,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79033,
    "c": 0.16206,
    "h": 113.5
  },
  "luminance": 0.50719
}

Semantic roles & 50–950 ramp

primary
#BBC531
secondary
#312D6E
accent
#44E34F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC531

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

Preview Lab → · Contrast checker → · Palette generator →

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