#BBBA31#BBBA31

#BBBA31 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.151 H 109.1°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#BBBA31
RGBrgb(187, 186, 49)
HSLhsl(60, 58%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0.5%, 73.8%, 26.7%)
CIE-LABlab(73.48, -15.41, 64.86)
CIE-LCHlch(73.48, 66.67, 103.37°)
OKLaboklab(76.61% -0.0493 0.1426)
OKLCHoklch(76.61% 0.151 109.1)
XYZxyz(38.6082, 45.9056, 9.7321)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA31 #3132BB
analogous
#BB7531 #BBBA31 #77BB31
triadic
#BBBA31 #31BBBA #BA31BB
tetradic
#BBBA31 #31BB75 #3132BB #BB3177
square
#BBBA31 #31BB75 #3132BB #BB3177
split-complementary
#BBBA31 #3177BB #7531BB
monochromatic
#5A5A18 #8B8A24 #BBBA31 #D3D256 #E0DF87

Accessibility & contrast

On white

2.06
#BBBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#BBBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA31
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA31#FFFFFF#000000##000000
##BBBA311.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B214
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#C8AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbba31;
/* rgb */ color: rgb(187, 186, 49);
/* oklch */ color: oklch(76.6% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3ce74',
    500: '#bbba31',
    950: '#000000',
  },
}
SCSS
$custom: #bbba31;
$custom-light: #d3ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba31",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 59.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.15092,
    "h": 109.1
  },
  "luminance": 0.45904
}

Semantic roles & 50–950 ramp

primary
#BBBA31
secondary
#7F7FC9
accent
#47E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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