#BBB151#BBB151

#BBB151 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.118 H 103.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BBB151
RGBrgb(187, 177, 81)
HSLhsl(54, 44%, 53%)
HSVhsv(54, 57%, 73%)
CMYKcmyk(0%, 5.3%, 56.7%, 26.7%)
CIE-LABlab(71.29, -8.85, 49.50)
CIE-LCHlch(71.29, 50.28, 100.14°)
OKLaboklab(74.94% -0.0273 0.115)
OKLCHoklch(74.94% 0.118 103.4)
XYZxyz(37.7021, 42.6045, 14.0205)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB151 #515BBB
analogous
#BB7C51 #BBB151 #90BB51
triadic
#BBB151 #51BBB1 #B151BB
tetradic
#BBB151 #51BB7C #515BBB #BB5190
square
#BBB151 #51BB7C #515BBB #BB5190
split-complementary
#BBB151 #5190BB #7C51BB
monochromatic
#696329 #958C3A #BBB151 #CCC57D #DDD8A9

Accessibility & contrast

On white

2.21
#BBB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#BBB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB151
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB151#FFFFFF#000000##000000
##BBB1511.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC47
Deuteranopia (green-blind)
#C2B156
Tritanopia (blue-blind)
#C8A69C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb151;
/* rgb */ color: rgb(187, 177, 81);
/* oklch */ color: oklch(74.9% 0.118 103.4);
Tailwind
colors: {
  custom: {
    50: '#d2c885',
    500: '#bbb151',
    950: '#000000',
  },
}
SCSS
$custom: #bbb151;
$custom-light: #d2c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb151",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 54.34,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74941,
    "c": 0.11824,
    "h": 103.4
  },
  "luminance": 0.42603
}

Semantic roles & 50–950 ramp

primary
#BBB151
secondary
#9DA1CB
accent
#60D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB151

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

Preview Lab → · Contrast checker → · Palette generator →

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