#BBC931#BBC931

#BBC931 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.166 H 114.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#BBC931
RGBrgb(187, 201, 49)
HSLhsl(66, 61%, 49%)
HSVhsv(66, 76%, 79%)
CMYKcmyk(7%, 0%, 75.6%, 21.2%)
CIE-LABlab(77.61, -22.87, 68.71)
CIE-LCHlch(77.61, 72.41, 108.41°)
OKLaboklab(79.92% -0.07 0.1508)
OKLCHoklch(79.92% 0.166 114.9)
XYZxyz(41.9358, 52.5606, 10.8412)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC931 #3F31C9
analogous
#C98B31 #BBC931 #6FC931
triadic
#BBC931 #31BBC9 #C931BB
tetradic
#BBC931 #31C98B #3F31C9 #C9316F
square
#BBC931 #31C98B #3F31C9 #C9316F
split-complementary
#BBC931 #316FC9 #8B31C9
monochromatic
#5F6719 #8D9825 #BBC931 #CDD85F #DCE490

Accessibility & contrast

On white

1.82
#BBC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#BBC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC931
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC931#FFFFFF#000000##000000
##BBC9311.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF08
Deuteranopia (green-blind)
#D7C13F
Tritanopia (blue-blind)
#C7BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc931;
/* rgb */ color: rgb(187, 201, 49);
/* oklch */ color: oklch(79.9% 0.166 114.9);
Tailwind
colors: {
  custom: {
    50: '#d3d975',
    500: '#bbc931',
    950: '#000000',
  },
}
SCSS
$custom: #bbc931;
$custom-light: #d3d975;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc931",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 65.526,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7992,
    "c": 0.16627,
    "h": 114.9
  },
  "luminance": 0.5256
}

Semantic roles & 50–950 ramp

primary
#BBC931
secondary
#342D71
accent
#44E453
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC931

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

Preview Lab → · Contrast checker → · Palette generator →

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