#BBB831#BBB831

#BBB831 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.149 H 108.2°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BBB831
RGBrgb(187, 184, 49)
HSLhsl(59, 58%, 46%)
HSVhsv(59, 74%, 73%)
CMYKcmyk(0%, 1.6%, 73.8%, 26.7%)
CIE-LABlab(72.94, -14.40, 64.35)
CIE-LCHlch(72.94, 65.94, 102.61°)
OKLaboklab(76.18% -0.0464 0.1416)
OKLCHoklch(76.18% 0.149 108.2)
XYZxyz(38.1898, 45.0688, 9.5926)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB831 #3134BB
analogous
#BB7331 #BBB831 #79BB31
triadic
#BBB831 #31BBB8 #B831BB
tetradic
#BBB831 #31BB73 #3134BB #BB3179
square
#BBB831 #31BB73 #3134BB #BB3179
split-complementary
#BBB831 #3179BB #7331BB
monochromatic
#5A5918 #8B8824 #BBB831 #D3D056 #E0DE87

Accessibility & contrast

On white

2.10
#BBB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BBB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB831
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB831#FFFFFF#000000##000000
##BBB8311.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B015
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#C9AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb831;
/* rgb */ color: rgb(187, 184, 49);
/* oklch */ color: oklch(76.2% 0.149 108.2);
Tailwind
colors: {
  custom: {
    50: '#d3cd73',
    500: '#bbb831',
    950: '#000000',
  },
}
SCSS
$custom: #bbb831;
$custom-light: #d3cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb831",
  "rgb": {
    "r": 187,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 58.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.14898,
    "h": 108.2
  },
  "luminance": 0.45068
}

Semantic roles & 50–950 ramp

primary
#BBB831
secondary
#7F80C9
accent
#49E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB831

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

Preview Lab → · Contrast checker → · Palette generator →

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