#BBB931#BBB931

#BBB931 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.150 H 108.6°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#BBB931
RGBrgb(187, 185, 49)
HSLhsl(59, 58%, 46%)
HSVhsv(59, 74%, 73%)
CMYKcmyk(0%, 1.1%, 73.8%, 26.7%)
CIE-LABlab(73.21, -14.90, 64.60)
CIE-LCHlch(73.21, 66.30, 102.99°)
OKLaboklab(76.39% -0.0479 0.1421)
OKLCHoklch(76.39% 0.15 108.6)
XYZxyz(38.3983, 45.4857, 9.6621)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB931 #3133BB
analogous
#BB7431 #BBB931 #78BB31
triadic
#BBB931 #31BBB9 #B931BB
tetradic
#BBB931 #31BB74 #3133BB #BB3178
square
#BBB931 #31BB74 #3133BB #BB3178
split-complementary
#BBB931 #3178BB #7431BB
monochromatic
#5A5918 #8B8924 #BBB931 #D3D156 #E0DE87

Accessibility & contrast

On white

2.08
#BBB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#BBB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB931
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB931#FFFFFF#000000##000000
##BBB9311.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#C9AD9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbb931;
/* rgb */ color: rgb(187, 185, 49);
/* oklch */ color: oklch(76.4% 0.150 108.6);
Tailwind
colors: {
  custom: {
    50: '#d3cd73',
    500: '#bbb931',
    950: '#000000',
  },
}
SCSS
$custom: #bbb931;
$custom-light: #d3cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb931",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 59.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76394,
    "c": 0.14995,
    "h": 108.6
  },
  "luminance": 0.45484
}

Semantic roles & 50–950 ramp

primary
#BBB931
secondary
#7F80C9
accent
#48E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB931

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

Preview Lab → · Contrast checker → · Palette generator →

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