#BBB131#BBB131

#BBB131 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.142 H 104.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BBB131
RGBrgb(187, 177, 49)
HSLhsl(56, 58%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 5.3%, 73.8%, 26.7%)
CIE-LABlab(71.03, -10.80, 62.55)
CIE-LCHlch(71.03, 63.47, 99.80°)
OKLaboklab(74.66% -0.0364 0.1377)
OKLCHoklch(74.66% 0.142 104.8)
XYZxyz(36.7716, 42.2323, 9.1198)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB131 #313BBB
analogous
#BB6C31 #BBB131 #80BB31
triadic
#BBB131 #31BBB1 #B131BB
tetradic
#BBB131 #31BB6C #313BBB #BB3180
square
#BBB131 #31BB6C #313BBB #BB3180
split-complementary
#BBB131 #3180BB #6C31BB
monochromatic
#5A5518 #8B8324 #BBB131 #D3CA56 #E0D987

Accessibility & contrast

On white

2.22
#BBB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BBB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB131
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB131#FFFFFF#000000##000000
##BBB1311.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C9A598
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbb131;
/* rgb */ color: rgb(187, 177, 49);
/* oklch */ color: oklch(74.7% 0.142 104.8);
Tailwind
colors: {
  custom: {
    50: '#d3c873',
    500: '#bbb131',
    950: '#000000',
  },
}
SCSS
$custom: #bbb131;
$custom-light: #d3c873;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb131",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 55.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74657,
    "c": 0.14245,
    "h": 104.8
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#BBB131
secondary
#7F84C9
accent
#51E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB131

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

Preview Lab → · Contrast checker → · Palette generator →

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