#BBBC31#BBBC31

#BBBC31 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.153 H 109.9°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#BBBC31
RGBrgb(187, 188, 49)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 74%)
CMYKcmyk(0.5%, 0%, 73.9%, 26.3%)
CIE-LABlab(74.03, -16.42, 65.37)
CIE-LCHlch(74.03, 67.41, 104.10°)
OKLaboklab(77.05% -0.0521 0.1437)
OKLCHoklch(77.05% 0.153 109.9)
XYZxyz(39.0325, 46.7541, 9.8735)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBC31 #3231BC
analogous
#BC7831 #BBBC31 #76BC31
triadic
#BBBC31 #31BBBC #BC31BB
tetradic
#BBBC31 #31BC78 #3231BC #BC3176
square
#BBBC31 #31BC78 #3231BC #BC3176
split-complementary
#BBBC31 #3176BC #7831BC
monochromatic
#5A5B18 #8B8B24 #BBBC31 #D2D357 #DFE088

Accessibility & contrast

On white

2.03
#BBBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#BBBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBC31
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBC31#FFFFFF#000000##000000
##BBBC311.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB412
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C8B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbc31;
/* rgb */ color: rgb(187, 188, 49);
/* oklch */ color: oklch(77.1% 0.153 109.9);
Tailwind
colors: {
  custom: {
    50: '#d3cf74',
    500: '#bbbc31',
    950: '#000000',
  },
}
SCSS
$custom: #bbbc31;
$custom-light: #d3cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbc31",
  "rgb": {
    "r": 187,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 60.432,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77051,
    "c": 0.15288,
    "h": 109.9
  },
  "luminance": 0.46753
}

Semantic roles & 50–950 ramp

primary
#BBBC31
secondary
#807FCA
accent
#46E247
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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