#BBC631#BBC631

#BBC631 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.3% C 0.163 H 113.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#BBC631
RGBrgb(187, 198, 49)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 78%)
CMYKcmyk(5.6%, 0%, 75.3%, 22.4%)
CIE-LABlab(76.79, -21.40, 67.94)
CIE-LCHlch(76.79, 71.23, 107.48°)
OKLaboklab(79.25% -0.066 0.1492)
OKLCHoklch(79.25% 0.163 113.9)
XYZxyz(41.2432, 51.1756, 10.6104)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC631 #3C31C6
analogous
#C68731 #BBC631 #70C631
triadic
#BBC631 #31BBC6 #C631BB
tetradic
#BBC631 #31C687 #3C31C6 #C63170
square
#BBC631 #31C687 #3C31C6 #C63170
split-complementary
#BBC631 #3170C6 #8731C6
monochromatic
#5E6419 #8D9525 #BBC631 #CED75D #DDE38E

Accessibility & contrast

On white

1.87
#BBC631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#BBC631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC631
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC631#FFFFFF#000000##000000
##BBC6311.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0B
Deuteranopia (green-blind)
#D4BF3E
Tritanopia (blue-blind)
#C8BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc631;
/* rgb */ color: rgb(187, 198, 49);
/* oklch */ color: oklch(79.3% 0.163 113.9);
Tailwind
colors: {
  custom: {
    50: '#d3d775',
    500: '#bbc631',
    950: '#000000',
  },
}
SCSS
$custom: #bbc631;
$custom-light: #d3d775;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc631",
  "rgb": {
    "r": 187,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 64.43,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79254,
    "c": 0.1631,
    "h": 113.9
  },
  "luminance": 0.51175
}

Semantic roles & 50–950 ramp

primary
#BBC631
secondary
#322D6E
accent
#44E350
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC631

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

Preview Lab → · Contrast checker → · Palette generator →

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