#BBBD31#BBBD31

#BBBD31 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.3% C 0.154 H 110.3°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#BBBD31
RGBrgb(187, 189, 49)
HSLhsl(61, 59%, 47%)
HSVhsv(61, 74%, 74%)
CMYKcmyk(1.1%, 0%, 74.1%, 25.9%)
CIE-LABlab(74.31, -16.92, 65.63)
CIE-LCHlch(74.31, 67.78, 104.46°)
OKLaboklab(77.27% -0.0535 0.1443)
OKLCHoklch(77.27% 0.154 110.3)
XYZxyz(39.2469, 47.1829, 9.9449)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBD31 #3331BD
analogous
#BD7931 #BBBD31 #75BD31
triadic
#BBBD31 #31BBBD #BD31BB
tetradic
#BBBD31 #31BD79 #3331BD #BD3175
square
#BBBD31 #31BD79 #3331BD #BD3175
split-complementary
#BBBD31 #3175BD #7931BD
monochromatic
#5B5C18 #8B8C24 #BBBD31 #D2D458 #DFE088

Accessibility & contrast

On white

2.01
#BBBD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#BBBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBD31
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBD31#FFFFFF#000000##000000
##BBBD311.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB512
Deuteranopia (green-blind)
#CDB93C
Tritanopia (blue-blind)
#C8B1A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbbd31;
/* rgb */ color: rgb(187, 189, 49);
/* oklch */ color: oklch(77.3% 0.154 110.3);
Tailwind
colors: {
  custom: {
    50: '#d3d074',
    500: '#bbbd31',
    950: '#000000',
  },
}
SCSS
$custom: #bbbd31;
$custom-light: #d3d074;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbd31",
  "rgb": {
    "r": 187,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 60.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.15387,
    "h": 110.3
  },
  "luminance": 0.47182
}

Semantic roles & 50–950 ramp

primary
#BBBD31
secondary
#8180CA
accent
#46E248
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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